/*
	Name: BookCard
	Description: Responsive HTML5 vCard Template
	Version: 1.2.2
	Author: pixelwars
*/

/* --- 
MAIN STYLE FILE */

/* BASE */
html,
body {
  width: 100%;
  height: 100%;
  margin-top: -10px;
  zoom: 96%;
}

body {
  overflow: hidden;
  -webkit-text-size-adjust: none;
}

/*Loading page*/
.jm-loadingpage {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 999999999;
  background: rgba(255, 255, 255, 0.962);
}

.jm-loadingpage span {
  width: 100%;
  height: 100%;
  text-align: center;
  top: 60%;
  color: rgb(0, 0, 0);
  position: fixed;
  margin: 0 auto;
  font-size: 24px;
  letter-spacing: 0px;
}

/*Loading page*/

.safe-mod body {
  overflow: visible;
  overflow-x: hidden;
}

.p-overlay-on body {
  overflow: visible;
}

.p-overlay-on.safe-mod .main {
  display: none;
}

a {
  color: #c25337;
  text-decoration: none;
  outline: none;
}

a:hover {
  color: #c00;
}

iframe {
  border: none;
}

p,
ul,
ol {
  font-size: 0.875em;
  line-height: 160%;
}

ul {
  list-style: square;
}

img {
  width: auto;
  max-width: 100%;
  height: auto;
}

.cf:before,
.cf:after {
  content: " ";
  display: table;
}

.cf:after {
  clear: both;
}

.easing,
#header nav ul a,
.btn,
.portfolio-nav a.button,
.social li a,
input,
textarea,
.media-box .mask,
.cover h1,
.cover h2,
.cover h3,
.rm-close span,
.cover .widget-twitter .twitter-link:before,
.latest-from-blog a,
.more a,
.post-pagination li a,
.navigation a {
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -ms-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.easing-long {
  -webkit-transition: all 1.2s ease-out;
  -moz-transition: all 1.2s ease-out;
  -ms-transition: all 1.2s ease-out;
  -o-transition: all 1.2s ease-out;
  transition: all 1.2s ease-out;
}

.center {
  text-align: center;
}

/* -------------------------------------------- */
/* TYPOGRAPHY */
/* headings and paragraphs */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
}

h1 {
  font-size: 2.2em;
  margin: 0.8em 0 0.4em 0;
}

h2 {
  font-size: 2em;
  margin: 1.4em 0 1.4em 0;
  text-align: center;
}

h3 {
  font-size: 1.1em;
  margin: 1em 0 0.6em 0;
}

h4 {
  font-size: 1em;
  margin: 1em 0 0.6em 0;
}

h5 {
  font-size: 0.9em;
  margin: 1em 0 0.8em 0;
}

h6 {
  font-size: 0.85em;
  margin: 1em 0 0.8em 0;
}

p {
  margin: 1.2em 0;
}

/* FONTS */

/* BODY */
body,
input,
textarea,
select,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  font-family: Lato, Arial, serif;
}

/* FONT AWESOME ICONS */
.fancy-ico:before,
#fancybox-close:before,
.icon,
.icon:before,
#header ul li a:before,
.widget-twitter .twitter-link:before,
.widget-twitter ul li:before,
.alert:before,
.social li a.pinterest:before,
.social li a.instagram:before,
.rm-close span:before {
  font-family: FontAwesome;
  font-weight: normal;
  text-align: left;
  font-style: normal;
  display: inline-block;
  text-decoration: inherit;
}

/* ------------------------------------------ 
   ---------------------  LAYOUT */
.content {
  position: relative;
  /* padding: 2em; */
  padding: none;
}

.content h2,
.content h3 {
  margin: 0.4em 0 1.4em 0;
  text-align: center;
}

.content h3 {
  margin: 2.2em 0 1.6em 0;
}

/* ------------------------------------------ 
   ---------------------  SCROLLBAR */
.antiscroll-wrap {
  position: absolute;
  top: 0;
  z-index: 1;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
}

.antiscroll-inner {
  overflow: scroll;
  width: 100%;
  height: 100%;
}

.antiscroll-inner::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.antiscroll-inner::scrollbar {
  width: 0;
  height: 0;
}

.antiscroll-scrollbar {
  position: absolute;
  z-index: 3;
  background: gray;
  background: rgba(0, 0, 0, 0.5);
  -webkit-border-radius: 7px;
  border-radius: 7px;
  -webkit-box-shadow: 0 0 1px #fff;
  box-shadow: 0 0 1px #fff;
  opacity: 0;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  -webkit-transition: linear 300ms opacity;
  -moz-transition: linear 300ms opacity;
  -o-transition: linear 300ms opacity;
}

.antiscroll-scrollbar-shown {
  opacity: 0.3;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=30);
}

.antiscroll-scrollbar-horizontal {
  height: 7px;
  margin-left: 2px;
  bottom: 2px;
  left: 0;
}

.antiscroll-scrollbar-vertical {
  width: 7px;
  margin-top: 2px;
  right: 2px;
  top: 0;
}

.antiscroll-scrollbar-vertical:active {
  opacity: 0.5;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
}

/* ------------------------------------------ 
   ---------------------  HEADER */
#header {
  display: none;
  position: relative;
  z-index: 1000;
  width: 100%;
  text-align: center;
}

#header:before,
#header:after {
  content: " ";
  display: table;
}

#header:after {
  clear: both;
}

/* MOBILE NAV MENU */
#header nav {
  position: relative;
  z-index: 99999;
}

#header nav ul {
  position: relative;
  padding: 0;
  margin: 0;
  font-size: 0.9em;
  list-style: none;
}

#header nav ul li {
  float: left;
  width: 100%;
  margin: 0;
  margin-top: 10px;
}

#header nav ul a {
  z-index: 9999;
  display: block;
  line-height: 70px;
  font-size: 20px;
  text-align: center;
  color: #ddd;
  text-shadow: 0 2px rgba(0, 0, 0, 0.12);
  background: #008c23;
  border-left: 1px solid #008c23;
  border-right: 1px solid #008c23;
  -webkit-box-shadow: inset 0 1px rgba(255, 255, 255, 0.05),
    inset 0 -1px 1px rgba(0, 0, 0, 0.15), 1px 0 rgba(0, 0, 0, 0.05),
    -1px 0 rgba(0, 0, 0, 0.05), 0 1px rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05),
    inset 0 -1px 1px rgba(0, 0, 0, 0.15), 1px 0 rgba(0, 0, 0, 0.05),
    -1px 0 rgba(0, 0, 0, 0.05), 0 1px rgba(255, 255, 255, 0.05);
}

#header nav ul li:first-child a {
  border-left: none;
}

#header nav ul li:last-child a {
  border-right: none;
}

#header nav ul a:hover {
  color: #eee;
  background: #008c23;
}

/* Menu Icons */
#header ul li:nth-child(1) a:before {
  content: "\f104";
}

/* Home */
#header ul li:nth-child(2) a:before {
  content: "\f022";
}

/* Resume */
#header ul li:nth-child(3) a:before {
  content: "\f105";
}

/* Portfolio */
#header ul li:nth-child(4) a:before {
  content: "\f0e0";
}

/* Contact */

/* ------------------------------------------ 
   ---------------------  RESUME PAGE */
.history-group {
  padding-top: 0.4em;
}

.history-unit {
  position: relative;
  padding: 0.5em 0;
}

.history-unit .work-desc {
  margin-left: 124px;
  position: relative;
  margin-left: 126px;
}

.history-unit .work-desc h4 {
  margin-top: 0;
}

.history-unit .work-desc h5 {
  margin: 0.2em 0 0.4em;
  font-size: 0.8em;
  color: #999;
}

.history-unit .work-desc h5:before {
  content: "→ ";
  display: inline-block;
  margin-right: 6px;
}

.history-unit .work-desc p {
  margin-top: 0.6em;
}

.history-unit h4,
.skill-unit h4 {
  margin-bottom: 2px;
  font-weight: 400;
}

.history-unit h4.work-time {
  position: relative;
  z-index: 100;
  float: left;
  margin-top: 0;
  min-width: 80px;
  text-align: center;
  font-size: 2.2em;
  font-family: "Tulpen One", cursive;
  padding: 4px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.history-unit:before {
  content: "";
  position: absolute;
  z-index: 90;
  top: 66px;
  left: 50px;
  bottom: 4px;
  border-left: 1px dashed #ccc;
}

.history-unit:last-child:before {
  display: none;
}

/* Skills progress bars */
.skill-group {
  padding: 0 0 1.2em 0;
}

.skill-unit {
  padding-bottom: 0.2em;
}

.bar {
  position: relative;
  width: 100%;
}

.bar .progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  border-radius: 4px;
}

/* Skills progress bars */
.bar {
  height: 6px;
}

.bar .progress {
  background: #333;
}

/* About text */
h4.about-text {
  text-align: center;
  font-size: 1.4em;
  line-height: 160%;
  padding: 0.3em 0;
}

.about-text img {
  text-align: center;
}

.label {
  display: inline-block;
  padding: 0 0.4em;
  border-radius: 2px;
}

/* Testimonials */
.testo-group {
  padding: 0.4em 0;
}

.testo {
  padding: 0.5em 0 1em 0;
}

.testo img {
  float: left;
  max-width: 80px;
  border-radius: 50%;
  box-shadow: 0 1px 0 #fff inset;
}

.testo .text {
  position: relative;
  margin-left: 114px;
  padding: 1em 1.6em;
  border-left: 2px solid #555;
  background-color: #fff;
}

.testo .text:before {
  content: "";
  position: absolute;
  top: 2em;
  right: 100%;
  width: 0;
  height: 0;
  border-top: 12px solid #555;
  border-left: 16px solid transparent;
}

.testo .text h4 {
  margin: 0;
}

.testo .text h4 span {
  display: inline-block;
  margin-left: 1em;
  font-size: 0.8em;
  color: #888;
}

.testo .text p {
  margin: 0.6em 0 0.2em 0;
  line-height: 150%;
  color: #555;
}

/* Services */
.service {
  text-align: center;
  padding: 0.4em 0 1.6em 0;
}

.service:after {
  content: "";
  display: block;
  max-width: 10%;
  margin: 0 auto;
  border-bottom: 1px solid #ccc;
}

.service:last-child:after {
  display: none;
}

.service i {
  font-size: 2.8em;
  color: #777;
  text-shadow: 0 1px 0 #fff;
}

.service p {
  margin-top: 0.4em;
}

.service h4 {
  margin-top: 0.8em;
}

/* Button */
.launch {
  text-align: center;
  padding: 2.6em 0;
}

.btn {
  padding: 20px 60px;
  letter-spacing: 1px;
  font-size: 0.9em;
  border-radius: 40px;
}

/* ------------------------------------------ 
   ---------------------  CONTACT PAGE */
.contact-form {
  padding-top: 2em;
  margin-top: 30px;
  background: url(../images/bckg/letter-lines.png) left top repeat-x;
  background-size: 45px 5px;
}

.map {
  margin-bottom: 30px;
}

.map iframe {
  width: 100%;
  border-width: 0;
  outline: none;
  height: 180px;
}

#contact-form fieldset {
  border: 0;
  padding: 0;
}

.contact-form p {
  margin: 0.8em 0;
}

.contact-form p:before,
.contact-form p:after {
  content: " ";
  display: table;
}

.contact-form p:after {
  clear: both;
}

label.error {
  display: none !important;
}

input,
textarea {
  display: block;
  padding: 10px;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: none;
  -webkit-box-shadow: none;
  -webkit-appearance: none;
}

textarea {
  height: 80px;
}

input:focus,
textarea:focus {
  border-color: #aaa;
}

input.error,
textarea.error {
  border-color: #c33;
}

.contact-form label {
  display: block;
  float: left;
  width: 30%;
}

.contact-form input,
.contact-form textarea {
  display: block;
  float: left;
  width: 70% !important;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

.contact-form textarea {
  height: 100px;
}

.contact-form input.submit {
  width: auto !important;
  margin-top: 1.2em;
  float: right !important;
}

.stamp {
  position: relative;
  float: right;
  margin-right: 0.4em;
  width: 114px;
  height: 134px;
  background: url(../images/bckg/stamp.png) 0 0 no-repeat;
}

.stamp:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../images/bckg/stamp-mask.png) 0 0 no-repeat;
}

.stamp img {
  display: block;
  width: 94px;
  height: 114px;
  position: absolute;
  top: 10px;
  left: 10px;
}

.letter {
  padding-bottom: 1.2em;
}

.letter-info {
  float: left;
  margin-left: 0.4em;
}

.letter-info h4 {
  margin: 0.5em 0 0 0;
  font-size: 2.2em;
  line-height: 120%;
  font-family: "Sacramento", cursive;
}

.letter-info p {
  margin: 0;
}

img.ajax-loader {
  display: none;
  float: left;
  margin-top: 34px;
}

/* Alert */
.alert {
  display: none;
  position: fixed;
  z-index: 9900;
  top: 50%;
  left: 50%;
  margin: -80px 0 0 -80px;
  font-size: 6em;
  line-height: 1;
  padding: 0.4em 0.5em;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  background: #000;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
}

.alert:before {
  content: "\f087";
}

.alert.error {
  background: #f30;
  background: rgba(180, 20, 0, 0.6);
}

.alert.error:before {
  content: "\f088";
}

/* -------------------------------------------- */
/* PORTFOLIO */

/* Filters */
#filters {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2em 0;
  text-align: center;
}

#filters li {
  display: inline-block;
  margin: 0 0.7em 0.2em 0.7em;
}

#filters li a {
  color: #999;
  font-size: 0.9em;
  padding-bottom: 2px;
}

#filters li a:hover {
  color: #888;
}

#filters .current a {
  border-bottom: 3px solid #333;
}

#filters .current a,
#filters .current a:hover {
  color: #333;
}

/* Portfolio Items */


/**** Isotope Filtering ****/
.isotope-item {
  z-index: 2;
}

.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}

.no-chrome .isotope,
.no-chrome .isotope .isotope-item {
  /* change duration value to whatever you like */
  -webkit-transition-duration: 0.8s;
  -moz-transition-duration: 0.8s;
  -ms-transition-duration: 0.8s;
  -o-transition-duration: 0.8s;
  transition-duration: 0.8s;
}

.no-chrome .isotope {
  -webkit-transition-property: height, width;
  -moz-transition-property: height, width;
  -ms-transition-property: height, width;
  -o-transition-property: height, width;
  transition-property: height, width;
}

.no-chrome .isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
  -moz-transition-property: -moz-transform, opacity;
  -ms-transition-property: -ms-transform, opacity;
  -o-transition-property: -o-transform, opacity;
  transition-property: transform, opacity;
}

/**** disabling Isotope CSS3 transitions ****/
.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
  -webkit-transition-duration: 0s;
  -moz-transition-duration: 0s;
  -ms-transition-duration: 0s;
  -o-transition-duration: 0s;
  transition-duration: 0s;
}

/* Lightbox */
.lightbox.hidden {
  display: none;
}

.fancy-ico,
#fancybox-close {
  font-size: 1em;
}

#fancybox-close:before,
.fancy-ico:before {
  display: inline;
}

#fancybox-close:before {
  content: "\f00d";
  font-size: 1em;
}

.fancy-ico:before {
  font-size: 3em;
}

.fancy-ico {
  width: 50px;
}

#fancybox-right-ico:before {
  content: "\f054";
}

#fancybox-left-ico:before {
  content: "\f053";
}

.fancy-ico,
#fancybox-close {
  display: inline-block;
  padding: 15px;
  line-height: 64%;
  cursor: pointer;
  color: #fff;
}

.fancy-ico:hover,
#fancybox-close:hover {
  opacity: 1;
}

#fancybox-close {
  opacity: 1;
  color: #000;
  background: #fff;
}

#fancybox-close:hover {
  background: #ddd;
}

/* PORTFOLIO DETAILS */
.p-single {
  background: #fff;
  overflow: visible;
}

.p-overlay {
  display: none;
  position: absolute;
  z-index: 3000;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  min-height: 100%;
  overflow: auto;
  background: #fff;
}

.portfolio-single {
  margin: 0 auto;
}

.portfolio-single>.row {
  padding-top: 1em;
}

.portfolio-field {
  padding-top: 2em;
}

.portfolio-field p {
  margin-top: 0;
}

.portfolio-field img,
.portfolio-field .fluid-width-video-wrapper,
.portfolio-field video {
  margin-bottom: 50px;
}

.portfolio-title h2 {
  margin: 0;
  font-size: 2em;
}

.portfolio-field.contenido {
  margin-top: -50px;
}

.portfolio-field.contenido>hr {
  border: 1px solid#ddd;
}

.portfolio-field h3 {
  margin: 2em 0 0.4em 0;
  padding-left: 10px;
  font-size: 1.3em;
}

.portfolio-field h3:first-child {
  margin-top: 0;
}

.portfolio-field p {
  padding-left: 14px;
  padding-right: 14px;
}

.portfolio-field .btn {
  margin: 2em auto 2em;
}

.portfolio-field .launch {
  text-align: left;
  padding-left: 14px;
}

/* tags */
.tags {
  margin: 0 0 1em 0;
  padding: 5px;
  list-style: none;
}

.tags li {
  display: inline-block;
}

.tags a {
  display: inline-block;
  height: 24px;
  line-height: 24px;
  font-size: 90%;
  position: relative;
  margin: 0 0 8px 20px;
  padding: 0 10px 0 12px;
  color: #333;
  background: #ebebeb;
}

.tags a:before {
  content: "";
  float: left;
  position: absolute;
  top: 0;
  left: -12px;
  width: 0;
  height: 0;
  border-color: transparent;
  border-right-color: #fc0;
  border-style: solid;
  border-width: 12px 12px 12px 0;
  border-right-color: #ebebeb;
}

.tags a:after {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  float: left;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  box-shadow: -1px -1px 2px rgba(0, 0, 0, 0.1);
  background: #fff;
}

/* portfolio details nav */
.portfolio-nav {
  text-align: right;
}

.portfolio-nav.bottom {
  margin-bottom: 40px;
}

.portfolio-nav .button {
  display: inline-block;
  min-width: 14px;
  text-align: center;
  padding: 8px 14px;
  line-height: 90%;
  font-size: 2em;
  cursor: pointer;
  border-radius: 4px;
}

.portfolio-nav .button:hover {
  opacity: 1;
}

.portfolio-nav a.button {
  color: #777;
  text-transform: none;
  border: 0;
  letter-spacing: 0;
}

.portfolio-nav a.button:hover {
  color: #000;
}

.icon.prev:before {
  content: "\f104";
}

.icon.next:before {
  content: "\f105";
}

.icon.back {
  font-family: "Raleway";
  font-weight: 200;
}

/* Ajax Loader */
.loader {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 110px;
  height: 50px;
  margin-top: -25px;
  margin-left: -55px;
  overflow: hidden;
  z-index: 1104;
  display: none;
  background: url(../images/bckg/loader_dark.gif) center center no-repeat;
  background-color: #000;
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 4px;
}

@media (-webkit-min-device-pixel-ratio: 1.5),
(min-resolution: 192dpi) {
  .laoder {
    background-size: 70px 24px;
    background-image: url(../images/bckg/loader_dark@2x.gif);
  }
}

/* SOCIAL */
@font-face {
  font-family: "JustVectorRegular";
  font-weight: normal;
  font-style: normal;
  src: url("fonts/justvector/justvector-webfont.eot");
  src: url("fonts/justvector/justvector-webfont.eot?#iefix") format("eot"),
    url("fonts/justvector/justvector-webfont.woff") format("woff"),
    url("fonts/justvector/justvector-webfont.ttf") format("truetype"),
    url("fonts/justvector/justvector-webfont.svg#webfontmuk63VQd") format("svg");
}

.social {
  padding: 0;
  margin: 2em 0;
  list-style: none;
  text-align: center;
}

.social li {
  display: inline-block;
  padding: 0;
  margin-bottom: -3px;
}

.social li a {
  display: block;
  float: left;
  margin: 0 0.1em 0.2em 0;
  line-height: 100%;
  text-align: center;
  font-family: "JustVectorRegular";
  font-size: 21px;
  padding: 9px 8px 7px 8px;
  min-width: 21px;
  max-height: 24px;
  color: #444;
  border-radius: 50%;
  border: 1px solid #ddd;
}

.social li a.facebook:before {
  content: "X";
}

.social li a.twitter:before {
  content: "_";
}

.social li a.flickr:before {
  content: "b";
}

.social li a.rss:before {
  content: "*";
}

.social li a.dribble:before {
  content: "S";
}

.social li a.lastfm:before {
  content: "u";
}

.social li a.linkedin:before {
  content: "v";
}

.social li a.vimeo:before {
  content: "!";
}

.social li a.google:before {
  content: "k";
}

.social li a.forrst:before {
  content: "d";
}

.social li a.skype:before {
  content: ":";
}

.social li a.picassa:before {
  content: "8";
}

.social li a.youtube:before {
  content: "'";
}

.social li a.tumblr:before {
  content: "\\";
}

.social li a.behance:before {
  content: "G";
}

.social li a.blogger:before {
  content: "J";
}

.social li a.delicious:before {
  content: "L";
}

.social li a.digg:before {
  content: "Q";
}

.social li a.friendfeed:before {
  content: "f";
}

.social li a.github:before {
  content: "j";
}

.social li a.wordpress:before {
  content: "$";
}

.social li a:hover {
  color: #fff !important;
  background-color: #000;
  border-color: #fff;
}

.social li a.facebook:hover {
  background-color: #3c5fac;
}

.social li a.twitter:hover {
  background-color: #5ec3df;
}

.social li a.flickr:hover {
  background-color: #ff0084;
}

.social li a.rss:hover {
  background-color: #ff9900;
}

.social li a.dribble:hover {
  background-color: #ea4c89;
}

.social li a.lastfm:hover {
  background-color: #d51007;
}

.social li a.linkedin:hover {
  background-color: #2089b5;
}

.social li a.vimeo:hover {
  background-color: #0dadd6;
}

.social li a.google:hover {
  background-color: #c63d2d;
}

.social li a.forrst:hover {
  background-color: #5b9a68;
}

.social li a.skype:hover {
  background-color: #00aff0;
}

.social li a.picassa:hover {
  background-color: #ffd34e;
}

.social li a.youtube:hover {
  background-color: #c8312b;
}

.social li a.pinterest:hover {
  background-color: #cb2027;
}

.social li a.tumblr:hover {
  background-color: #2c4762;
}

.social li a.behance:hover {
  background-color: #3878f6;
}

.social li a.blogger:hover {
  background-color: #fc9947;
}

.social li a.delicious:hover {
  background-color: #3274d1;
}

.social li a.digg:hover {
  background-color: #205891;
}

.social li a.friendfeed:hover {
  background-color: #2f72c4;
}

.social li a.github:hover {
  background-color: #000;
}

.social li a.wordpress:hover {
  background-color: #0083b3;
}

.social li a.instagram:hover {
  background-color: #3f729b;
}

.social li a.pinterest:before {
  content: "\f0d2";
}

.social li a.instagram:before {
  content: "\f083";
}

/* TWITTER WIDGET ON CONTENT PAGE */
.content .widget-twitter a {
  margin-left: 200px;
}

.content .widget-twitter ul {
  list-style: none;
  padding: 0;
}

.content .widget-twitter ul li {
  position: relative;
  margin-bottom: 3em;
  padding-top: 0.4em;
}

.content .widget-twitter ul li:before {
  content: "\f099";
  position: absolute;
  top: 0;
  left: 0;
  font-size: 24px;
  color: #ccc;
  text-shadow: 0 1px 0 #fff;
}

.content .widget-twitter ul li span {
  position: relative;
  display: block;
  margin-left: 4em;
  padding: 1em 1.4em;
  background: #fff;
}

.content .widget-twitter ul li span:before {
  content: "";
  position: absolute;
  top: 0;
  right: 100%;
  width: 0;
  height: 0;
  border-top: 13px solid #fff;
  border-left: 15px solid transparent;
}

.content .widget-twitter ul li span+a {
  float: right;
  margin-top: 0.4em;
  color: #aaa;
}

/* TWITTER WIDGET ON COVER PAGE */
.cover .widget-twitter {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  max-height: 64px;
}

.cover .widget-twitter ul {
  list-style: none;
  margin: 0;
  padding: 0.1em 0.9em 0.9em 0;
  min-height: 40px;
  background: #fff;
}

.cover .widget-twitter ul li {
  margin-left: 70px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.cover .widget-twitter ul li span {
  position: relative;
}

.cover .widget-twitter ul li span+a {
  margin-left: 2em;
  color: #aaa;
}

/* update : v.1.1 */
.widget-twitter ul li p {
  margin: 0;
  display: inline;
}

.widget-twitter ul li p.interact {
  display: none;
}

.widget-twitter ul li p.timePosted {
  margin-left: 1.2em;
  color: #aaa;
}

.widget-twitter h4 {
  font-size: 18px;
  font-weight: bold;
  margin-top: 15px;
  text-overflow: ellipsis;
}

/* update : v.1.2 */
.cover .widget-twitter .twitter-link:before {
  content: "\f04b";
  position: absolute;
  top: 10px;
  left: 10px;
  line-height: 1;
  padding: 0.6em;
  padding-left: 0.8em;
  padding-top: 0.6em;
  font-size: 19px;
  color: #fff;
  background: #da2926;
  border-radius: 50%;
}

.cover .widget-twitter .twitter-link:hover:before {
  background: #222;
}

/* COVER PAGE */
.cover-image-holder {
  display: none;
}

.cover {
  position: relative;
  z-index: 1000;
  width: 100%;
  height: 100%;
  overflow: hidden;
  /* background-position: center bottom;
  background-repeat: no-repeat;
  background-size: contain; */
}

.cover .cabecera {
  margin-top: -3px;
}

.cover .ribbon-superior {
  color: #fff;
  background-color: #008c23;
  padding: 3px 40px;
  font-size: 10px;
  border-radius: 3px;
  opacity: 0.9;
  letter-spacing: 2px;
  margin-bottom: 0px;
  margin-top: 0px;
}

.cover h1 {
  display: block;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  line-height: 0;
  letter-spacing: 1px;
  font-size: 62px;
  font-family: "Alfa Slab One";
  text-shadow: 8px 7px 0px rgba(0, 0, 0, 0.1);
}

.cover h1 img {
  width: 100%;
  margin-top: 0px;
  padding-top: 0px;
}

.cover h4 {
  margin: 4% 0 0 7.5%;
  padding: 0;
  text-align: left;
  letter-spacing: 1px;
  font-family: "Raleway";
  font-weight: 200;
  color: #fff;
  font-size: 20px;
}

.cover h4 a.rm-button-open {
  color: #fff;
}

.cover .cartilla-derecha {
  position: absolute;
  right: 0px;
  margin-right: 70px;
  top: 165px;
}

.cover .video-devocional {
  position: absolute;
  bottom: 30px;
  right: 35px;
  width: 200px;
  padding: 0px 0px;
  -webkit-box-shadow: 0 4px 10px rgba(62, 57, 107, 0.2);
  box-shadow: 0 4px 10px rgba(62, 57, 107, 0.2);
  border-radius: 50%;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.cover .video-devocional img.icono-play-youtube {
  position: absolute;
  bottom: 35%;
  left: 34%;
}

.cover .video-devocional:hover {
  cursor: pointer;
  -webkit-transform: translateY(-4px) scale(1.02);
  -moz-transform: translateY(-4px) scale(1.02);
  -ms-transform: translateY(-4px) scale(1.02);
  -o-transform: translateY(-4px) scale(1.02);
  transform: translateY(-4px) scale(1.02);
  -webkit-box-shadow: 0 14px 24px rgba(62, 57, 107, 0.2);
  box-shadow: 0 14px 24px rgba(62, 57, 107, 0.2);
}

.cover .video-devocional img.miniatura {
  padding: 0px 0px;
  margin: 0px 0px;
  width: 100%;
  border-radius: 5px;
}

.cover .cartilla-derecha {
  margin-top: 20px;
}

.cover .cartilla-derecha h4 {
  margin-bottom: 20px;
}

.cover h4.abrir-cartilla {
  width: 30%;
}

.cover h4.abrir-cartilla:hover,
.cover .cartilla-derecha h4:hover {
  cursor: pointer;
}

.cover h4.abrir-cartilla l:hover,
.cover .cartilla-derecha h4 l:hover {
  text-decoration: underline;
}

.cover h4 span {
  display: block;
  font-weight: 800;
  color: #fc0;
}

.cover h2,
.cover h3 {
  text-shadow: rgba(0, 0, 0, 0.4) 1px 1px 0, rgba(0, 0, 0, 0.4) 2px 2px 0;
}

.cover .necesita {
  float: right;
  width: 40%;
  margin-top: -51px;
  margin-right: 30px;
}


.ribbon {
  text-align: center;
  background: #d64b4b;
  -webkit-box-shadow: rgba(000, 000, 000, 0.4) 1px 1px 1px;
  -moz-box-shadow: rgba(000, 000, 000, 0.4) 1px 1px 1px;
  box-shadow: rgba(000, 000, 000, 0.4) 1px 1px 1px;
  -webkit-transition: all 0.2s ease-out;
  /* Safari 3.2+, Chrome */
  -moz-transition: all 0.2s ease-out;
  /* Firefox 4-15 */
  -o-transition: all 0.2s ease-out;
  /* Opera 10.5–12.00 */
  transition: all 0.2s ease-out;
  /* Firefox 16+, Opera 12.50+ */
}

.ribbon strong {
  display: block;
  margin: 0 0 0 -20px;
  padding: 0 20px 0 14px;
  position: relative;
  z-index: 295;
  font-size: 15px !important;
  font-weight: bold;
  line-height: 42px;
  min-height: 42px;
  color: #811919;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
}

a.ribbon {
  color: #630f0f;
}

a.ribbon:hover {
  color: #000;
}

.ribbon:before {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  border: 24px solid #d64b4b;
  z-index: -1;
}

.ribbon:before {
  left: -48px;
  border-right-width: 24px;
  border-left-color: transparent;
  -webkit-box-shadow: rgba(000, 000, 000, 0.4) 1px 1px 1px;
  -moz-box-shadow: rgba(000, 000, 000, 0.4) 1px 1px 1px;
  box-shadow: rgba(000, 000, 000, 0.4) 1px 1px 1px;
}

.ribbon .ribbon-content:before {
  left: 0;
  border-width: 1em 0 0 1em;
}

.ribbon-stitches-top {
  display: block;
  margin-top: 2px;
  margin-left: -40px;
  border-top: 1px dashed rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 2px rgba(255, 255, 255, 0.5);
  -webkit-box-shadow: 0px 0px 2px rgba(255, 255, 255, 0.5);
  box-shadow: 0px 0px 2px rgba(255, 255, 255, 0.5);
}

.ribbon-stitches-bottom {
  display: block;
  margin-bottom: 2px;
  margin-left: -40px;
  border-top: 1px dashed rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 2px rgba(255, 255, 255, 0.4);
  -webkit-box-shadow: 0px 0px 2px rgba(255, 255, 255, 0.4);
  box-shadow: 0px 0px 2px rgba(255, 255, 255, 0.4);
}

/* CLOSE BUTTON */
.rm-close {
  color: #fff;
  position: absolute;
  top: 0;
  right: 30px;
  cursor: pointer;
  z-index: 300;
}

.rm-close:hover {
  color: #ccc;
}

.rm-close span {
  display: inline-block;
  margin-top: 14px;
}

.rm-close span:before {
  content: "\f00d";
  font-size: 20px;
}

.rm-close {
  background: #333;
  border-left: 1px dashed #888;
  border-right: 1px dashed #888;
  box-shadow: 3px 0 0 #333, -3px 0 0 #333;
  text-align: center;
  width: 40px;
  height: 50px;
}

.rm-close:after,
.rm-close:before {
  border-top: 15px solid #333;
  content: "";
  height: 0;
  position: absolute;
  top: 100%;
  width: 0;
}

.rm-close:after {
  border-left: 25px solid transparent;
  right: -4px;
}

.rm-close:before {
  border-right: 25px solid transparent;
  left: -4px;
}

.content .necesita {
  margin-top: 6px;
  width: 150px;
  margin-bottom: 10px;
}

#imagen-derecha .content,
#imagen-izquierda .content {
  padding: none;
  width: 100%;
  height: auto;
}

#imagen-derecha .content img.fondo-derecho,
#imagen-izquierda .content img {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 90%;
  height: auto;
}

#imagen-triptico-derecha {
  width: 100%;
  max-width: 100%;
  height: auto;
}

@supports (object-fit: cover) {

  #imagen-derecha .content img.fondo-derecho,
  #imagen-izquierda .content img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center center;
  }
}

/* HOMEPAGE COVER BLOG LINK */
.latest-from-blog {
  margin: 0px 0;
}

.latest-from-blog h3 {
  display: inline-block;
  font-size: 16px !important;
  padding: 5px 25px;
  margin-left: 5%;
  background: #d1281c;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: -4px;
  margin-top: 0px;
  text-align: center;
  border-radius: 4px;
  color: #fff;
}

.latest-from-blog h3 a:before {
  content: " - ";
}

.latest-from-blog h3 a {
  font-size: 10px;
  color: #fff;
  letter-spacing: 2px;
}

.latest-from-blog h3 a:hover {
  opacity: 0.6;
}

.latest-from-blog h2 {
  text-align: left;
  margin: 0 0 0 5%;
  text-shadow: none !important;
}

.latest-from-blog h2 a {
  font-size: 15px;
  font-weight: bold;
  display: inline-block;
  padding: 5px 15px;
  color: #111;
  background: #f9ed3a;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.latest-from-blog h2 a:hover {
  background: #fff;
}

/* ------------------------------------------ 
   ---------------------  SAFE MOD */
.safe-mod .rm-container {
  overflow: hidden;
}

.safe-mod .rm-container {
  width: 100%;
  max-width: 600px;
  -webkit-perspective: 0px;
  -moz-perspective: 0px;
  -o-perspective: 0px;
  -ms-perspective: 0px;
  perspective: 0px;
}

.safe-mod .rm-wrapper {
  position: static;
  background: #fff;
}

.safe-mod .rm-wrapper .rm-middle {
  box-shadow: none;
}

.safe-mod .rm-close,
.safe-mod .rm-overlay {
  display: none;
}

.safe-mod .antiscroll-inner {
  overflow: hidden;
}

.safe-mod.on-cover-page .rm-wrapper {
  position: absolute;
  top: 60px;
  bottom: 0;
}

.safe-mod #header {
  display: block;
}

.safe-mod.on-cover-page #header {
  display: none;
}

.safe-mod .rm-wrapper,
.safe-mod .rm-wrapper>div {
  position: static;
}

.safe-mod.not-on-cover-page body {
  width: auto;
  height: auto;
}

.safe-mod.not-on-cover-page .main {
  height: auto;
}

.safe-mod.not-on-cover-page .page {
  height: auto;
}

.safe-mod.not-on-cover-page .antiscroll-wrap {
  position: relative;
  top: auto;
  bottom: auto;
  left: auto;
  overflow: hidden;
}

.safe-mod.not-on-cover-page .antiscroll-inner {
  position: relative;
}

.safe-mod.not-on-cover-page .rm-wrapper>div>div {
  position: static;
}

.safe-mod .rm-right .rm-front {
  display: none;
}

/* ----------------------------------
   RESPONSIVE LAYOUTS
   ---------------------------------- */

/* WIDTH 420 */
.w420 h2 {
  font-size: 1.6em;
}

.w420 .letter-info {
  float: none;
  text-align: center;
  margin-left: 0;
}

.w420 .stamp {
  float: none;
  margin: 0 auto;
}

.w420 .contact-form label {
  float: none;
  width: 100%;
}

.w420 .contact-form input,
.w420 .contact-form textarea {
  float: none;
  width: 100%;
}

/* resume page */
.w420 h4.about-text {
  font-size: 1.2em;
}

.w420 .testo img {
  max-width: 60px;
}

.w420 .testo .text {
  margin-left: 80px;
}

.w420 .history-unit:before {
  left: 46px;
}

.w420 .history-unit h4.work-time {
  min-width: 67px;
  font-size: 2em;
}

.w420 .history-unit .work-desc {
  margin-left: 104px;
}

/* portfolio */
.w420 #filters li {
  margin: 0 0.5em 0.2em 0.5em;
}

/* TABLETS */
@media screen and (max-width: 978px) {
  .portfolio-field {
    padding-top: 1em;
  }

  .portfolio-field img,
  .portfolio-field .fluid-width-video-wrapper,
  .portfolio-field video {
    margin-bottom: 1.4em;
  }

  .portfolio-nav,
  .portfolio-title {
    text-align: center;
  }

  .portfolio-nav {
    padding-bottom: 0.5em;
  }

  .portfolio-title h2 {
    font-size: 1.5em;
    padding-left: 0;
  }

  .portfolio-field h3 {
    margin-top: 1em;
  }

  .portfolio-field .launch {
    text-align: center;
  }
}

@media screen and (min-width: 878px) {
  .portfolio-title img {
    width: 50%;
  }
}

@media screen and (max-width: 878px) {
  .about-text {
    font-size: 2.1rem;
    text-align: justify;
  }

  .rm-wrapper h2 span {
    font-size: 2.7rem;
    font-weight: bold;
    text-align: center;
  }

  #imagen_2 {
    min-width: fit-content;
  }
}


/* TABLET PORTRAIT  */
@media screen and (min-height: 800px) and (max-width: 960px) {
  .safe-mod .rm-container {
    width: 100%;
    max-width: none;
  }
}

/* HIGH RES DESKTOPS */
@media screen and (min-width: 1200px) {}

@media screen and (min-height: 800px) and (min-width: 1200px) {
  .safe-mod .rm-container {
    width: 100%;
    max-width: 700px;
  }
}

@media screen and (min-height: 900px) and (min-width: 1400px) {
  .safe-mod .rm-container {
    width: 100%;
    max-width: 770px;
  }
}

/* PHONES */
@media screen and (max-width: 560px) {
  #header nav ul a {
    line-height: 60px;
    font-size: 17px;
  }

  .content {
    padding: 2em 1.2em;
  }

  .cover .widget-twitter {
    display: none;
  }

  .latest-from-blog {
    bottom: 0;
  }
}

/* ------------------------------------------ 
   ---------------------  CUSTOMIZATIONS */

/* TEXT COLORS */
body {
  color: #333;
}

/* Mobile Menu Active Item */
#header nav ul .current_page_item a {
  color: #333;
  background: #ffe04f;
}

/* Portfolio Nav Button */
.portfolio-nav a.button:hover {
  background: #ffe04f;
}

/* Label */
.label {
  color: #fff;
  background: #333;
}

/* Button */
.btn {
  color: #fff;
  background: #333;
}

.btn:hover {
  color: #fff;
  background: #d64b4b;
}

.btn:active {
  background: #c14545;
}

/* Text Selection */
::selection {
  text-shadow: none;
  color: #fff;
  background: #555;
}

::-moz-selection {
  text-shadow: none;
  color: #fff;
  background: #555;
}

/* INNER PAGE BG */
.rm-wrapper>div>div {
  background-color: #fff;
}

/* FRONT PAGE BG */
.rm-wrapper>div.rm-cover>div.rm-front {
  background-color: #666;
}

/* BACK PAGE BG */
.rm-wrapper>div.rm-right>div.rm-front {
  background-color: #666;
}

/* --------------------------------------- */

/* chrome video fullscreen fix */
:-webkit-full-screen-ancestor:not(iframe) {
  -webkit-animation: none;
}

/*  --------------------------------------------

	2. FORMS (@forms) - form elements
	
    -------------------------------------------- */
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

form p {
  position: relative;
  margin: 1.6em 0;
}

label {
  display: block;
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 0.6em;
  text-transform: uppercase;
}

::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.2);
}

::-moz-placeholder {
  color: rgba(255, 255, 255, 0.15);
}

:-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.15);
}

label input {
  font-weight: 400;
}

input:not([type="submit"]):not([type="button"]):not([type="file"]):not([type="radio"]):not([type="checkbox"]),
textarea,
select {
  padding: 12px 16px;
  width: 100%;
  font-size: 14px;
  color: #345;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0;
  background-color: transparent;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

input:not([type="submit"]):not([type="button"]):not([type="file"]):not([type="radio"]):not([type="checkbox"]):hover,
textarea:hover,
input:hover,
select:hover {
  outline: 0;
}

input:not([type="submit"]):not([type="button"]):not([type="file"]):not([type="radio"]):not([type="checkbox"]):focus,
textarea:focus,
input:focus,
select:focus {
  border-color: #4ece99;
  outline: 0;
}

textarea {
  min-height: 9em;
  line-height: 1.6;
  resize: vertical;
}

select {
  padding: 0.8em 1em;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAZJJREFUaIHt1r9LVWEYB/DPVTEpgqRBaEhocmiyoc2lrZbG+gts8z8I5xykRfwxROBiEBENSdAmQZMKTldwUHAJAltEBG2453Beg7zXe99zXZ4PHC7nx/s833O5931fQgghhBBCCDUbxCqe9qHXc7zDQM6iizjHMaZyFv7HE5wUvRY6GdDpW+4XnyP4gskrR2vvMT5juDg/yFm8gTmtb+YcvzCRsf5D/E7qvyl6ZtXAStLkAOMZ6j7AYVJ3WQ3hS4P4kDTbxVgP9e5hL6m3VvSo1TDWk6bbGO2izl3sJHW+qn7/tbuFjaT5j+Jap27jZzJ+AzczZ2zrDraSEN9wo4NxI/iejNssal2LMTSTMB8xdMnzQ/iUPN/U238oi3GtGakM9b9VdADvXZzF7vcpY1sTWmtDGW7examwgbfJ/dzrSBaP8EcV8nVybza5fqSelTyLKa39Uhl2pjjK87r3Ulk8w6kqdHmc6s9uNouXOFOFP8OLa03UhVeqF5iuq8llc3avFlUL1FKNfUIIIYQQQgjd+QvyJ2oyQcCnYgAAAABJRU5ErkJggg==);
  background-position: 97% center;
  background-position: right 10px center;
  background-repeat: no-repeat;
  background-size: 20px 20px;
}

select::-ms-expand {
  display: none;
}

input[type="file"] {
  width: 100%;
  outline: 0;
  cursor: pointer;
  font-size: 13px;
}

input[type="file"]::-webkit-file-upload-button {
  display: inline-block;
  padding: 0.6em 1em;
  outline: 0;
  color: #333;
  background-color: transparent;
  border: 1px solid #999;
  cursor: pointer;
}

input[type="checkbox"] {
  -webkit-appearance: none;
  height: 1em;
  position: relative;
  background-color: transparent;
  border: 2px solid #333;
  width: 1em;
  border-radius: 3px;
  outline: none;
  font-size: 15px;
  vertical-align: text-bottom;
  margin-right: 0.6em;
}

input[type="checkbox"]:active {
  box-shadow: 0 0 0.8em rgba(0, 0, 0, 0.2) inset;
}

input[type="checkbox"]:before,
input[type="checkbox"]:after {
  content: "";
  background-color: inherit;
  position: absolute;
  transition: 0.1s background-color;
}

input[type="checkbox"]:after {
  width: 0.14em;
  height: 0.6em;
  -webkit-transform: rotate(36deg) translate(0.42em, -0.17em);
}

input[type="checkbox"]:before {
  width: 0.14em;
  height: 0.35em;
  -webkit-transform: rotate(-58deg) translate(-0.2em, 0.35em);
}

input[type="checkbox"]:checked:after,
input[type="checkbox"]:checked:before {
  background-color: #333;
}

input[type="radio"] {
  -webkit-appearance: none;
  height: 1em;
  position: relative;
  background-color: #fff;
  border: 2px solid #333;
  width: 1em;
  border-radius: 50%;
  outline: none;
  font-size: 15px;
  margin-right: 0.6em;
  vertical-align: text-bottom;
}

input[type="radio"]:checked:before {
  content: "";
  background-color: #333;
  position: absolute;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  bottom: 3px;
  right: 3px;
}

.inline-label {
  display: inline-block;
  margin-right: 2.2em;
}

/* validation  */
label.error {
  position: absolute;
  bottom: -19px;
  left: 0;
  min-width: 160px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.2em 0.8em;
  background-color: #e24c4c;
  color: #fff;
  letter-spacing: 0;
}

label.error:after {
  content: " ";
  position: absolute;
  left: 1.6em;
  bottom: 100%;
  pointer-events: none;
  width: 0;
  height: 0;
  border-bottom: 8px solid #e24c4c;
  border-right: 8px solid transparent;
}

/* BUTTONS */
input[type="submit"],
input[type="button"],
button,
a.button {
  display: inline-block;
  position: relative;
  padding: 1.1em 2em;
  margin-bottom: 0.25em;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 0.08em;
  outline: 0;
  border: 2px solid #345;
  color: #345;
  text-shadow: none;
  background: none;
  border-radius: 0;
}

input[type="submit"]:hover,
input[type="button"]:hover,
button:hover,
a.button:hover {
  color: #fff;
  background-color: #1b2e34;
  border-color: transparent;
}

input[type="submit"]:active,
input[type="button"]:active,
button:active,
a.button:active {
  opacity: 0.8;
}

/* Large Buttons */
input[type="submit"].big,
input[type="button"].big,
button.big,
a.button.big {
  font-size: 12px;
  padding: 1.5em 2.6em;
}

/* Small Buttons */
input[type="submit"].small,
input[type="button"].small,
button.small,
a.button.small {
  padding: 0.6em 1.4em;
  font-size: 11px;
}

/* ----- 4.1 HEADER ----- */
.header {
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10% 0;
  background-size: cover;
  background-position: center;
  background-color: #fff;
}

.header::before {
  display: block;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(39, 97, 99, 0.13);
  opacity: 1;
  -webkit-transition: opacity 0.5s 0.4s, visibility 0s 0.9s;
  transition: opacity 0.5s 0.4s, visibility 0s 0.9s;
}

.header .site-title {
  font-size: 44px;
  font-size: 10vw;
  letter-spacing: 0;
  font-weight: 100;
  color: #fff;
  line-height: 1;
  padding: 0;
  margin: 0;
}

.header-title-link+.site-title {
  margin: 30px 0;
  font-size: 64px;
}

.header img {
  margin-bottom: 16px;
  border-radius: 50%;
}

.site-description {
  font-size: 12px;
  color: #fff;
}

.header-wrap>img {
  display: none;
}

/* NAV MENU */
.nav-menu ul {
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
}

.nav-menu ul li {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
}

.nav-menu ul i {
  display: block;
  margin-bottom: 0.2em;
  position: absolute;
  top: 14px;
  left: -6px;
  font-size: 12px;
}

.nav-menu ul i:before {
  display: inline-block;
  font-size: 2.4em;
  line-height: 1;
}

.nav-menu a {
  display: block;
  padding: 1.8em 3em;
  color: #fff;
  position: relative;
  letter-spacing: 0.12em;
}

.nav-menu a:hover {
  color: #fff;
  opacity: 0.8;
}

.nav-menu:not(.menu-with-icons) ul {
  margin: 1.6em 0 0;
}

.nav-menu:not(.menu-with-icons) ul a {
  padding: 0.5em;
}

/* ----- 4.2 FOOTER ----- */
footer {
  position: absolute;
  color: #333;
  bottom: 24px;
  font-size: 12px;
  text-align: center;
  width: 100%;
}

.site-footer {
  position: relative;
  width: 100%;
  clear: left;
}

.site-footer .site-info {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding: 22px 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.site-footer .site-info a {
  color: #345;
}

/* LAYOUT */
body.classic {
  overflow: auto;
}

body.classic * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.layout-fixed,
.layout-medium,
.layout-full {
  width: 100%;
  padding: 20px;
  margin: 0 auto;
  z-index: 1;
  position: relative;
}

.layout-fixed {
  max-width: 700px;
}

.layout-medium {
  max-width: 1040px;
}

.site-middle .layout-medium {
  overflow: auto;
  background: #fff;
}

.hentry {
  padding: 0 0 2em 0;
}

.entry-header {
  padding-top: 2em;
}

.entry-title {
  margin: 0;
  text-align: center;
}

.entry-content {
  margin: 1.2em 0 0;
}

/* SECTION TITLE */
.section-title {
  margin: 0 0 4px 0;
  position: relative;
  z-index: 10;
}

.page-title+.section-title,
.section-title:first-child {
  margin-top: 0;
}

.section-title h2 {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  font-weight: normal;
  letter-spacing: 0.2em;
  /*white-space: nowrap;*/
  text-align: center;
  color: #345;
}

.section-title h2:after,
.section-title h2:before {
  content: " ";
  display: block;
  position: absolute;
}

.section-title h2 i {
  display: inline-block;
  position: relative;
  padding: 0;
  font-style: normal;
  box-shadow: inset 0 -6px 0px #fdf854;
  color: #345;
}

.section-title h2 i:after {
  content: " ";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  bottom: -0.5em;
  left: -0.05em;
}

/* BLOG */
.blog-regular {
  margin-bottom: 3em;
}

.blog-regular .hentry {
  padding-bottom: 2em;
}

.blog-regular .entry-title {
  font-size: 1.5em;
}

.entry-title a {
  color: inherit;
}

.blog-regular .hentry {
  text-align: center;
}

.blog-regular .entry-title {
  margin-top: 0;
}

.blog-regular .entry-content {
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

/* entry-meta */
.entry-meta {
  color: #ccc;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 1px;
  margin-top: 1em;
  text-align: center;
  text-transform: uppercase;
}

.entry-meta span {
  margin-right: 8px;
  margin-bottom: 12px;
}

.blog-regular .entry-meta .comment-link {
  display: none;
}

.cat-links a {
  margin-bottom: 8px;
}

.cat-links a,
.cat-links a:hover {
  color: #345;
}

.comment-link a,
.comment-link a:hover {
  color: #dcdfe2;
}

.nav-single a,
.comment-meta a,
.comment-reply-link,
.navigation a,
.post-pagination a,
.related-posts a,
.tabs .tab-titles li a {
  color: inherit;
}

.navigation a:hover,
.post-pagination a:hover,
.entry-content a.more-link:hover {
  color: #fff;
  border-color: transparent;
}

.nav-single a:active,
.comment-meta a:active,
.comment-reply-link:active,
.navigation a:active,
.post-pagination a:active,
.related-posts a:active,
.entry-content a.more-link:active {
  opacity: 0.8;
}

/* more link */
.more {
  display: block;
  margin-top: 1.6em;
}

a.more-link {
  display: inline-block;
  padding: 1.6em 2.4em;
  color: #6a7686;
  font-weight: 400;
  letter-spacing: 2px;
  font-size: 9px;
  line-height: 1;
  background: none;
  border: 1px solid #dde4e6;
  text-transform: uppercase;
}

a.more-link:hover,
.pagination a:hover,
.navigation a:hover {
  background: #1b2e34;
}

/* featured image */
.featured-image {
  margin-top: 1.4em;
}

.featured-image img {
  display: block;
  margin: 0 auto;
}

/* PAGINATION */
.navigation,
.post-pagination {
  padding: 3em 0;
  font-size: 11px;
  letter-spacing: 2px;
  overflow: auto;
}

.navigation>div {
  width: 50%;
  float: left;
}

.navigation a,
.post-pagination a {
  display: inline-block;
  padding: 1.5em 2em;
  color: #6a7686;
  border: 1px solid #dde4e6;
  text-transform: uppercase;
}

.navigation .nav-next {
  text-align: right;
}

.navigation .meta-nav {
  margin-right: 0.5em;
}

.navigation .nav-next .meta-nav {
  margin-left: 0.5em;
  margin-right: 0;
}

/* NUMBERED PAGINATION */
.post-pagination ul {
  list-style: none;
  text-align: center;
  padding: 0;
}

.post-pagination li {
  display: inline-block;
  font-size: 0.9em;
  margin: 0.3em 0.1em;
}

.post-pagination li a {
  padding: 0.8em 1.4em;
  margin: 0 4px;
}

.post-pagination li.current a,
.post-pagination li.current a:hover {
  border-color: #6a7686;
  font-weight: 800;
  background: #fff;
  color: #6a7686;
  cursor: default;
}

/* POST FORMATS */
.hentry .entry-header:before {
  font-size: 28px;
  color: #dcdfe2;
  display: block;
  text-align: center;
  padding-bottom: 0.3em;
}

/* sticky  */
.hentry.sticky {
  border-bottom: 4px solid #345;
}

/* quote  */
.format-quote .entry-content blockquote {
  text-align: center;
}

.format-quote blockquote {
  width: 100%;
  margin: 0;
  padding: 0;
}

.format-quote blockquote:before {
  content: "";
}

/* link  */
.format-link .entry-content {
  padding-top: 0;
}

.format-link .entry-content>p:first-child {
  text-align: center;
}

.format-link .entry-content>p:first-child a:first-child {
  font-size: 1em;
  font-weight: bold;
  word-break: break-all;
  padding: 0.5em 1.6em;
  margin: 1em 0;
  display: inline-block;
  color: inherit;
  border: 4px dashed #eee;
}

.format-link .entry-content>p:first-child a:first-child:hover {
  border-style: solid;
  border-color: #555;
}

/* blockquote  */
blockquote {
  position: relative;
  margin: 1.6em 0;
  padding: 0 0.8em;
  text-align: center;
  font-size: 1.2em;
  line-height: 1.2;
  font-weight: 900;
}

blockquote p {
  line-height: 100%;
}

blockquote cite {
  display: block;
  font-size: 13px;
  padding-right: 1em;
  margin-top: 1em;
  font-style: normal;
  font-weight: 400;
  color: #ccc;
  letter-spacing: 0.03em;
}

/* gallery  */
.gallery {
  margin: 2em 0;
  width: 100%;
  width: -webkit-calc(100% + 4px);
  width: calc(100% + 4px);
}

.gallery:before,
.gallery:after {
  content: " ";
  display: table;
}

.gallery:after {
  clear: both;
}

.gallery-item {
  display: block;
  position: relative;
  float: left;
  margin: 0 4px 4px 0;
}

.gallery-item a {
  display: block;
  position: relative;
  float: left;
  margin: 0 4px 4px 0;
}

.gallery-item a:before {
  content: "";
  opacity: 0;
  filter: alpha(opacity=0);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  text-align: center;
  overflow: hidden;
  background: #33475d;
  background: rgba(51, 71, 93, 0.6);
}

.gallery-item a:after {
  opacity: 0;
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -33px 0 0 -33px;
  width: 66px;
  line-height: 66px;
  font-size: 42px;
  text-align: center;
  color: #fff;
}

.gallery-item a:hover:before,
.gallery-item a:hover:after {
  opacity: 1;
}

.gallery-item img {
  width: 100%;
}

.gallery-columns-1 .gallery-item {
  max-width: 100%;
}

.gallery-columns-2 .gallery-item {
  width: 48%;
  width: -webkit-calc(50% - 4px);
  width: calc(50% - 4px);
}

.gallery-columns-3 .gallery-item {
  width: 32%;
  width: -webkit-calc(33.3% - 4px);
  width: calc(33.3% - 4px);
}

.gallery-columns-4 .gallery-item {
  width: 23%;
  width: -webkit-calc(25% - 4px);
  width: calc(25% - 4px);
}

.gallery-columns-5 .gallery-item {
  width: 19%;
  width: -webkit-calc(20% - 4px);
  width: calc(20% - 4px);
}

.gallery-columns-6 .gallery-item {
  width: 15%;
  width: -webkit-calc(16.7% - 4px);
  width: calc(16.7% - 4px);
}

.gallery-columns-7 .gallery-item {
  width: 13%;
  width: -webkit-calc(14.28% - 4px);
  width: calc(14.28% - 4px);
}

.gallery-columns-8 .gallery-item {
  width: 11%;
  width: -webkit-calc(12.5% - 4px);
  width: calc(12.5% - 4px);
}

.gallery-columns-9 .gallery-item {
  width: 9%;
  width: -webkit-calc(11.1% - 4px);
  width: calc(11.1% - 4px);
}

.gallery-columns-1 .gallery-item:nth-of-type(1n),
.gallery-columns-2 .gallery-item:nth-of-type(2n),
.gallery-columns-3 .gallery-item:nth-of-type(3n),
.gallery-columns-4 .gallery-item:nth-of-type(4n),
.gallery-columns-5 .gallery-item:nth-of-type(5n),
.gallery-columns-6 .gallery-item:nth-of-type(6n),
.gallery-columns-7 .gallery-item:nth-of-type(7n),
.gallery-columns-8 .gallery-item:nth-of-type(8n),
.gallery-columns-9 .gallery-item:nth-of-type(9n) {
  margin-right: 0;
}

.gallery-columns-1.gallery-size-medium figure.gallery-item:nth-of-type(1n + 1),
.gallery-columns-1.gallery-size-thumbnail figure.gallery-item:nth-of-type(1n + 1),
.gallery-columns-2.gallery-size-thumbnail figure.gallery-item:nth-of-type(2n + 1),
.gallery-columns-3.gallery-size-thumbnail figure.gallery-item:nth-of-type(3n + 1) {
  clear: left;
}

.gallery .gallery-caption {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 45%;
  margin: 0;
  padding: 6px 8px;
  text-align: center;
  opacity: 0;
  filter: alpha(opacity=0);
  font-size: 13px;
  line-height: 1.4;
  overflow: hidden;
  z-index: 999;
  color: #fff;
  background-color: #8acb82;
}

.gallery-caption:before {
  content: "";
  height: 100%;
  min-height: 49px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  filter: alpha(opacity=100);
}

.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
  display: none;
}

/* aside  */
.format-aside .entry-content {
  text-align: center;
}

/* status  */
.format-status .entry-content {
  text-align: center;
}

.format-status .entry-content>p:first-child {
  display: inline-block;
  padding: 1em;
  border: 1px solid #eee;
  font-size: 1em;
  font-style: italic;
  line-height: 1.5;
}

/* chat  */
.chat-row {
  text-align: left;
}

.chat-row:after {
  display: table;
  content: "";
  line-height: 0;
}

.chat-row>div {
  display: inline-block;
}

.chat-author {
  text-align: right;
  width: 100px;
  margin-top: 5px;
  font-size: 14px;
  text-transform: uppercase;
}

.chat-author cite {
  display: inline-block;
  min-width: 80%;
  margin-right: 0.1em;
  font-size: 0.9em;
  font-weight: 800;
  font-style: normal;
}

.chat-text {
  text-align: left;
  padding-left: 20px;
}

.chat-text p {
  position: relative;
  display: inline-block;
  max-width: 460px;
  padding: 5px 14px;
  margin-top: 0;
  margin-bottom: 0.6em;
  background: #fff;
  border-radius: 4px;
  border: 1px solid #e9e6df;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.chat-text p:after {
  content: "";
  position: absolute;
  border-style: solid;
  border-width: 5px 4px 5px 0;
  border-color: transparent #ffffff;
  display: block;
  width: 0;
  z-index: 1;
  left: -4px;
  top: 10px;
}

.chat-text p:before {
  content: "";
  position: absolute;
  border-style: solid;
  border-width: 6px 5px 6px 0;
  border-color: transparent #eee;
  display: block;
  width: 0;
  z-index: 0;
  left: -6px;
  top: 9px;
}

.chat-text p:empty {
  display: none;
}

.chat-speaker-2 .chat-author cite {
  font-style: italic;
}

.chat-speaker-2 .chat-text p {
  border-color: #e9e6df;
}

.chat-speaker-2 .chat-text p:before {
  border-color: transparent #e9e6df;
}

/* BLOG SINGLE */
.blog-single .hentry {
  padding-bottom: 2em;
}

.blog-single .entry-meta {
  line-height: 1.9;
  text-align: center;
  padding-bottom: 20px;
}

.blog-single .entry-content {
  text-align: left;
  margin-left: auto;
  margin-right: auto;
}

/* nav single */
.nav-single {
  padding: 3em 0;
  text-transform: uppercase;
}

.nav-single h6 {
  font-size: 11px;
  letter-spacing: 1px;
  color: #dcdfe2;
}

.nav-single h2 {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.1px;
  text-transform: none;
}

.nav-single .meta-nav {
  margin-right: 0.6em;
}

.nav-single .nav-next .meta-nav {
  margin-left: 0.6em;
  margin-right: 0;
}

.nav-single .nav-next {
  text-align: right;
}

/* TAGS  */
.tags.entry-meta {
  margin: 0 0 1em 0;
  padding: 1em 0.2em;
  list-style: none;
  text-align: left;
}

.tags li {
  display: inline-block;
}

.tags a,
.tagcloud a {
  display: inline-block;
  line-height: 24px;
  font-size: 10px;
  font-weight: bold;
  position: relative;
  margin: 0 4px 8px 12px;
  padding: 0 10px 0 12px;
  background: #eaeeef;
  text-transform: uppercase;
  color: #6a7686;
  border-radius: 0 2px 2px 0;
}

.tags a:hover {
  color: #333;
}

.tags a:before,
.tagcloud a:before {
  content: "";
  float: left;
  position: absolute;
  top: 0px;
  left: -11px;
  width: 0;
  height: 0;
  border-color: transparent;
  border-right-color: #eaeeef;
  border-style: solid;
  border-width: 12px 11px 12px 0;
}

.tags a:after,
.tagcloud a:after {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  float: left;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

/* RELATED POSTS */
.related-posts {
  padding: 2em 0 0;
  text-align: center;
}

.related-posts .media-grid {
  min-height: 0;
  overflow: hidden;
}

.related-posts .media-grid .media-cell {
  margin-bottom: 0;
}

.related-posts .mask:before {
  font-size: 32px;
}

.related-posts .media-cell-desc {
  padding: 4px 12px;
}

.related-posts h2 {
  font-size: 1em;
}

.related-posts .section-title {
  margin-bottom: 32px;
}

/* COMMENTS */
.comments-title {
  margin-bottom: 1.2em;
}

.comments-area {
  padding: 0;
}

.comments-area ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.commentlist {
  padding: 0;
  line-height: 1.6;
}

.comments-area ol ol {
  margin-left: 6%;
}

.comments-area article {
  position: relative;
  padding: 0.6em 0;
  margin-bottom: 0.8em;
  border-bottom: 1px solid #f4f3ef;
}

.commentlist>li:last-child>article {
  border-bottom: 0;
}

.comment-meta {
  text-transform: uppercase;
}

.comment-meta img {
  display: block;
  float: left;
  margin: 0 1em 0 0;
  border-radius: 50%;
  max-width: 52px;
}

.comment-meta .fn {
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  font-style: normal;
  padding-top: 0.2em;
}

.comment-meta .comment-date {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: #c5cad0;
  letter-spacing: 1px;
}

.comment-content {
  padding-top: 0.1em;
  clear: left;
}

.comment-content p {
  margin: 0.8em 0 0.2em 0;
  font-size: 13px;
}

.comment .reply {
  text-align: right;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* comment by post author  */
.bypostauthor>article {
  border-bottom-width: 4px;
}

/* COMMENT FORM */
#respond {
  padding: 0 0 1em 0;
  margin: 1em 0;
}

#reply-title {
  margin-bottom: 1.5em;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

#reply-title small {
  padding-left: 14px;
  text-transform: uppercase;
  font-size: 16px;
}

.form-allowed-tags,
.comment-notes {
  display: none;
  font-size: 0.9em;
}

.form-allowed-tags code {
  margin-top: 1em;
}

.form-submit {
  margin-top: 2em;
}

/* WIDGET AREA */
.widget-area {
  padding: 2em 0;
  overflow: hidden;
}

.widget-area .widget {
  padding: 0 0 2em 0;
}

.widget-area a {
  color: #334455;
}

.widget-area a:hover {
  color: #1c262b;
}

.widget-title {
  margin-bottom: 1.6em;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 900;
}

.widget-title:after {
  display: block;
  width: 24px;
  height: 16px;
  content: "";
  border-bottom: 3px solid #333;
}

.widget-area ul li {
  font-size: 0.875em;
}

.widget-area ul ul ul li {
  font-size: inherit;
}

.widget label input {
  font-size: 13px !important;
  font-weight: 400;
}

.widget-area iframe {
  width: 100% !important;
  max-height: 290px;
}

/* DEFAULT WIDGETS */
.widget-area ul {
  margin-left: 1.2em;
  padding-left: 0;
}

.widget-area ul li {
  position: relative;
  margin-bottom: 0.4em;
  line-height: 1.5;
}

/* recent entries widget */
.widget_recent_entries ul {
  margin-left: 0;
  list-style: none;
}

.widget_recent_entries ul li {
  margin: 0;
  padding: 1em 0 0.5em 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(28, 38, 43, 0.05);
}

.widget_recent_entries ul li:last-child,
.widget_recent_entries ul li:last-child:hover {
  border-bottom: 0;
}

/* recent comments widget */
.widget_recent_comments ul li {
  font-style: italic;
}

.widget_recent_comments ul li a {
  font-style: normal;
}

.widget_recent_comments ul li a:nth-of-type(2) {
  font-weight: bold;
}

/* pages widget */
.widget_pages ul ul li {
  font-size: 1em;
}

/* text widget */
.textwidget {
  font-size: 0.875em;
}

.textwidget img {
  margin-bottom: 1em;
}

/* rss widget */
.widget_rss .rss-date,
.widget_rss cite:before {
  text-align: left;
  font-style: italic;
  color: #bbb;
}

.widget_rss .rss-date {
  margin-left: 1em;
  font-size: 0.875em;
}

.widget_rss ul li {
  padding-bottom: 1.4em;
}

.widget_rss ul li a.rsswidget {
  font-weight: bold;
}

.widget_rss .widget-title img {
  margin-right: 0.1em;
}

.widget_rss cite {
  display: block;
  margin-top: 0.6em;
  text-align: right;
}

.widget_rss cite:before {
  content: "by ";
}

.widget_rss .rssSummary {
  padding-top: 0.2em;
}

/* tag cloud widget */
.tagcloud a {
  font-size: 10px !important;
  font-weight: 400;
  color: #6a7686;
}

/* categories widget */
.widget_categories ul,
.widget_archive ul {
  list-style: none;
  margin-left: 0;
}

.widget_categories ul li.cat-item {
  margin-bottom: 0.6em;
}

.widget_categories ul li.cat-item a,
.widget_archive li a {
  padding: 7px 0;
  margin: 0px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(28, 38, 43, 0.05);
  display: block;
}

.widget_categories ul li:last-child a {
  border-bottom: 0;
}

/* search widget */
.widget_search .search-submit {
  margin-top: 12px;
  font-size: 11px;
}

/* calendar widget */
.widget_calendar table {
  width: 100%;
  max-width: 280px;
  margin-bottom: 0;
  font-size: 13px;
}

.widget_calendar thead {
  display: none;
}

.widget_calendar table caption {
  text-align: left;
  font-style: italic;
  padding-bottom: 8px;
  padding-left: 10px;
}

.widget_calendar table tr td,
.widget_calendar table tr th {
  padding: 0.5em 0;
}

.widget_calendar tbody a {
  font-weight: 700;
}

.widget_calendar tfoot {
  font-size: 13px;
}

.widget_calendar tfoot #prev {
  text-align: left;
}

.widget_calendar tfoot #next {
  text-align: right;
}

/* CUSTOM WIDGETS */

/* SOCIAL FEED */
.social-feed ul {
  margin-left: 0;
  list-style: none;
}

.social-feed ul li {
  display: inline-block;
  padding: 0 4px 4px 0;
  font-size: 0;
}

.social-feed ul li img {
  max-width: 80px;
  max-height: 100%;
}

/* INSTAGRAM WIDGET */
/* wp plugin : WP Instagram Widget */
.null-instagram-feed ul {
  padding: 0;
  margin: 0;
  overflow: auto;
}

.null-instagram-feed ul li {
  width: 33.33%;
  float: left;
  padding-right: 5px;
}

/* TOP10 Popular Posts Widget */
.tptn_posts ul {
  list-style: none;
  margin: 0;
}

.tptn_posts ul li {
  display: block;
  clear: left;
  overflow: hidden;
  margin-bottom: 1em;
}

.tptn_posts img {
  float: left;
  margin-right: 16px;
  max-height: 76px;
  width: auto;
}

.tptn_posts .tptn_link {
  display: block;
  font-size: 14px;
}

.tptn_posts .tptn_after_thumb>span {
  font-size: 13px;
  color: #dad8d1;
  margin-right: 6px;
}

/* TABLETS */
@media screen and (min-width: 768px) {

  /* LAYOUT */
  .site-middle>.layout-medium {
    padding: 20px 50px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  }

  .site-main {
    margin: 5em 0;
  }

  .header {
    padding: 5% 0;
    box-shadow: 0px -30px 10px -22px rgba(0, 0, 0, 0.24);
  }

  /* SIDEBAR */
  .with-sidebar {
    float: left;
    width: 61%;
  }

  .sidebar {
    float: left;
    width: 34%;
    margin-left: 5%;
  }

  /* BLOG SINGLE */
  .related-posts .media-grid .media-cell {
    float: left;
    width: 33.33%;
  }
}

/* DESKTOPS */
@media screen and (min-width: 992px) {

  /* LAYOUT */
  .site-middle>.layout-medium {
    padding: 30px 90px;
  }

  /* SIDEBAR */
  .with-sidebar {
    width: 64%;
  }

  .sidebar {
    width: 29.8%;
    margin-left: 6%;
  }

  /* HOMEPAGE COVER BLOG LINK */
  .latest-from-blog h2 {
    font-size: 24px !important;
  }

  /* Comment Form */
  #respond form p {
    margin-bottom: 0;
  }

  .comment-form-author,
  .comment-form-email,
  .comment-form-url {
    float: left;
    width: 30%;
    margin-right: 3%;
  }

  .comment-form-url {
    width: 34%;
    margin-right: 0;
  }

  .form-allowed-tags,
  .form-submit {
    clear: left;
  }

  .form-submit {
    padding-top: 2em;
  }
}

@media screen and (max-width: 562px) {
  body {
    zoom: 80%;
  }

  footer {
    color: #fff;
  }
}

.opciones-izquierda {
  position: absolute;
  left: -280px;
}

.opciones-izquierda ul {
  list-style: none;
}

.opciones-izquierda ul li {
  list-style: none;
  margin-top: 20px;
}

.opciones-izquierda img {
  width: 210px;
  border-radius: 5px;
  -webkit-box-shadow: 0 4px 10px rgba(62, 57, 107, 0.2);
  box-shadow: 0 4px 10px rgba(62, 57, 107, 0.2);
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.opciones-izquierda ul li img:hover {
  cursor: pointer;
  -webkit-transform: translateY(-4px) scale(1.02);
  -moz-transform: translateY(-4px) scale(1.02);
  -ms-transform: translateY(-4px) scale(1.02);
  -o-transform: translateY(-4px) scale(1.02);
  transform: translateY(-4px) scale(1.02);
  -webkit-box-shadow: 0 14px 24px rgba(62, 57, 107, 0.2);
  box-shadow: 0 14px 24px rgba(62, 57, 107, 0.2);
}

.opciones-derecha {
  position: absolute;
  right: -260px;
  z-index: 9999;
}

.opciones-derecha ul {
  list-style: none;
}

.opciones-derecha ul li {
  list-style: none;
  margin-top: 20px;
}

.opciones-derecha img {
  width: 210px;
  border-radius: 5px;
  -webkit-box-shadow: 0 4px 10px rgba(62, 57, 107, 0.2);
  box-shadow: 0 4px 10px rgba(62, 57, 107, 0.2);
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.opciones-derecha ul li img:hover {
  cursor: pointer;
  -webkit-transform: translateY(-4px) scale(1.02);
  -moz-transform: translateY(-4px) scale(1.02);
  -ms-transform: translateY(-4px) scale(1.02);
  -o-transform: translateY(-4px) scale(1.02);
  transform: translateY(-4px) scale(1.02);
  -webkit-box-shadow: 0 14px 24px rgba(62, 57, 107, 0.2);
  box-shadow: 0 14px 24px rgba(62, 57, 107, 0.2);
}

#reproductor {
  bottom: -83px;
  position: absolute;
  left: 0px;
  z-index: 99999;
  opacity: 0.6;
}

@media screen and (min-width: 860px) {
  .opciones-portafolio-movil {
    display: none;
  }

  .portfolio-field.contenido-form {
    margin-top: -80px;
  }

  .portfolio-field.contenido-pdf {
    margin-top: 30px;
  }
}

.opciones-portafolio-movil {
  margin: 0 auto;
}

.opciones-portafolio-movil ul {
  margin-top: 40px;
}

.opciones-portafolio-movil img {
  margin-top: 20px;
  width: 100%;
}

@media screen and (max-width: 440px) {
  .jm-loadingpage span {
    top: 65%;
  }

  .opciones-portafolio-movil ul {
    margin-left: -30px;
  }

  .opciones-portafolio-movil img {
    margin-top: 20px;
    width: 100%;
  }

  .portfolio-field.contenido-form {
    margin-top: 10px;
  }

  .portfolio-field.contenido-form hr {
    display: none;
  }

  .portfolio-field.contenido-pdf {
    margin-top: 100px;
  }

  .portfolio-field.contenido-pdf hr {
    display: none;
  }

  .cover h4 {
    font-size: 15px;
  }

  .cover .cartilla-derecha {
    margin-right: 30px;
    top: 140px;
  }

  .cover .video-devocional {
    bottom: 100px;
    right: 35px;
    width: 150px;
  }

  .cover .video-devocional img.icono-play-youtube {
    width: 40px;
    bottom: 35%;
    left: 38%;
  }

  .cover .video-devocional img.miniatura {
    padding: 0px 0px;
    margin: 0px 0px;
    width: 100%;
    border-radius: 5px;
  }

  .cover .necesita {
    margin-top: -40px;
    width: 35%;
  }

  body {
    margin-top: 18px;
  }

  #reproductor {
    bottom: -96px;
    position: absolute;
    opacity: 0.6;
  }

  .latest-from-blog h2 a {
    font-size: 11px;
    margin-top: 5px;
  }

  .latest-from-blog h3 {
    font-size: 9px;
    padding-top: -10px;
    padding-left: 6px;
    padding-right: 6px;
  }
}

@media (max-width: 700px) and (orientation: landscape) {
  #reproductor {
    display: none
  }

  body {
    height: 800px;
    overflow-y: scroll;
  }
}

::-webkit-scrollbar {
  display: none;
}

.numero-telefono {
  width: 40%;
  text-align: center;
  margin-top: 40px;
  margin-left: 10px;
}

.numero-telefono a:hover {
  text-decoration: underline;
}

.numero-telefono a>img {
  width: 26px;
  margin-bottom: -6px;
}

.numero-telefono a>b {
  color: #fff;
  margin-left: 7px;
  font-size: 16px;
  letter-spacing: 2px;
}

audio {
  background-color: #f0c22f;
  height: 45px;
}

audio::-webkit-media-controls-panel {
  background-color: #f0c22f;
}

@media screen and (prefers-reduced-motion:reduce) {
  .modal-contenido {
    -webkit-transition: none;
    -o-transition: none;
    transition: none
  }
}

.modal-contenido {
  background-color: #eee;
  padding: 10px 20px;
  position: relative;
  height: auto;
  overflow-y: scroll;
}

@media (min-width:576px) {
  .modal-contenido {
    width: 100%;
    margin: 1.75rem auto
  }
}

@media (max-width:576px) {
  .modal-body ul li {
    font-size: 23px !important;
    line-height: 42px;
  }

  .modal-title {
    font-size: 30px !important;
  }
  .modal-contenido {
    max-width: 800px;
    margin: 10% auto;
    max-height: 800px;
  }
}

@media (min-width:992px) {
  .modal-contenido {
    max-width: 800px;
    margin: 10% auto;
    max-height: 600px;
  }
}

.modal {
  background-color: rgba(0, 0, 0, .4);
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transition: all 1s;
}

#directorioDigital:target {
  opacity: 1;
  pointer-events: auto;
}

.list-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0
}

.list-group-item-action {
  width: 100%;
  color: #4F5467;
  text-align: inherit
}

.light .list-group-item-action:focus,
.light .list-group-item-action:hover {
  color: #4F5467;
  text-decoration: none;
  background-color: #f8f9fa
}

.light .list-group-item-action:active {
  color: #212529;
  background-color: #e9ecef
}

.light .list-group-item {
  position: relative;
  display: block;
  padding: 0.75rem 1.25rem;
  margin-bottom: -1px;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.125)
}

.light .list-group-item {
  position: relative;
  display: block;
  padding: 0.75rem 1.25rem;
  margin-bottom: -1px;
  background-color: #353c48;
  border: 1px solid rgba(0, 0, 0, 0.125)
}

.dark .list-group-item-action:focus,
.dark .list-group-item-action:hover {
  color: #4F5467;
  text-decoration: none;
  background-color: #303641
}

.dark .list-group-item-action:active {
  color: #ced4da;
  background-color: #272c36
}

.dark .list-group-item {
  position: relative;
  display: block;
  padding: 0.75rem 1.25rem;
  margin-bottom: -1px;
  background-color: #353c48;
  border: 1px solid rgba(0, 0, 0, 0.125)
}

.list-group-item:first-child {
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem
}

.list-group-item:last-child {
  margin-bottom: 0;
  border-bottom-right-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem
}

.list-group-item:focus,
.list-group-item:hover {
  z-index: 1;
  text-decoration: none
}

.list-group-item.disabled,
.list-group-item:disabled {
  color: #ced4da;
  background-color: #fff
}

.list-group-item.active {
  z-index: 2;
  color: #fff;
  background-color: #fb9678;
  border-color: #fb9678
}

.list-group-flush .list-group-item {
  border-right: 0;
  border-left: 0;
  border-radius: 0
}

.list-group-flush:first-child .list-group-item:first-child {
  border-top: 0
}

.list-group-flush:last-child .list-group-item:last-child {
  border-bottom: 0
}

.list-group-item-primary {
  color: #834e3e;
  background-color: #fee2d9
}

.list-group-item-primary.list-group-item-action:focus,
.list-group-item-primary.list-group-item-action:hover {
  color: #834e3e;
  background-color: #fdcfc0
}

.list-group-item-primary.list-group-item-action.active {
  color: #fff;
  background-color: #834e3e;
  border-color: #834e3e
}

.list-group-item-secondary {
  color: #818182;
  background-color: #fdfdfe
}

.list-group-item-secondary.list-group-item-action:focus,
.list-group-item-secondary.list-group-item-action:hover {
  color: #818182;
  background-color: #ececf6
}

.list-group-item-secondary.list-group-item-action.active {
  color: #fff;
  background-color: #818182;
  border-color: #818182
}

.list-group-item-success {
  color: #00654c;
  background-color: #b8eee0
}

.list-group-item-success.list-group-item-action:focus,
.list-group-item-success.list-group-item-action:hover {
  color: #00654c;
  background-color: #a3e9d7
}

.list-group-item-success.list-group-item-action.active {
  color: #fff;
  background-color: #00654c;
  border-color: #00654c
}

.list-group-item-info {
  color: #02587e;
  background-color: #b8e7fc
}

.list-group-item-info.list-group-item-action:focus,
.list-group-item-info.list-group-item-action:hover {
  color: #02587e;
  background-color: #a0dffb
}

.list-group-item-info.list-group-item-action.active {
  color: #fff;
  background-color: #02587e;
  border-color: #02587e
}

.list-group-item-warning {
  color: #846404;
  background-color: #FE8F34
}

.list-group-item-warning.list-group-item-action:focus,
.list-group-item-warning.list-group-item-action:hover {
  color: #846404;
  background-color: #ffe8a1
}

.list-group-item-warning.list-group-item-action.active {
  color: #fff;
  background-color: #846404;
  border-color: #846404
}

.list-group-item-danger {
  color: #77373d;
  background-color: #f7d5d9
}

.list-group-item-danger.list-group-item-action:focus,
.list-group-item-danger.list-group-item-action:hover {
  color: #77373d;
  background-color: #f3c0c6
}

.list-group-item-danger.list-group-item-action.active {
  color: #fff;
  background-color: #77373d;
  border-color: #77373d
}

.list-group-item-light {
  color: #818182;
  background-color: #fdfdfe
}

.list-group-item-light.list-group-item-action:focus,
.list-group-item-light.list-group-item-action:hover {
  color: #818182;
  background-color: #ececf6
}

.list-group-item-light.list-group-item-action.active {
  color: #fff;
  background-color: #818182;
  border-color: #818182
}

.list-group-item-dark {
  color: #1b1e21;
  background-color: #c6c8ca
}

.list-group-item-dark.list-group-item-action:focus,
.list-group-item-dark.list-group-item-action:hover {
  color: #1b1e21;
  background-color: #b9bbbe
}

.list-group-item-dark.list-group-item-action.active {
  color: #fff;
  background-color: #1b1e21;
  border-color: #1b1e21
}

.list-group-item-cyan {
  color: #016468;
  background-color: #b8edf0
}

.list-group-item-cyan.list-group-item-action:focus,
.list-group-item-cyan.list-group-item-action:hover {
  color: #016468;
  background-color: #a3e8ec
}

.list-group-item-cyan.list-group-item-action.active {
  color: #fff;
  background-color: #016468;
  border-color: #016468
}

.list-group-item-purple {
  color: #594977;
  background-color: #e7dff7
}

.list-group-item-purple.list-group-item-action:focus,
.list-group-item-purple.list-group-item-action:hover {
  color: #594977;
  background-color: #d8cbf2
}

.list-group-item-purple.list-group-item-action.active {
  color: #fff;
  background-color: #594977;
  border-color: #594977
}

.d-flex {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important
}

@media (max-width:1023px) {
  .d-flex {
    display: block !important
  }
}

.rounded-circle {
  border-radius: 50% !important
}

.flex-shrink-0 {
  -ms-flex-negative: 0 !important;
  flex-shrink: 0 !important
}

.w-100 {
  width: 100% !important
}


.justify-content-between {
  -webkit-box-pack: justify !important;
  -ms-flex-pack: justify !important;
  justify-content: space-between !important
}

.text-nowrap {
  white-space: nowrap !important
}

.modal-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #dadcdf;
  border-top-left-radius: 0.3rem;
  border-top-right-radius: 0.3rem
}

.modal-header .close {
  padding: 1rem;
  margin: -1rem -1rem -1rem auto;
  font-size: 20px;
  font-weight: bold;
  color: #818182;
}

.modal-title {
  margin-bottom: 0;
  line-height: 1.5;
  font-size: 20px;
  font-weight: bold;
}

.modal-body {
  position: relative;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1rem
}

.modal-footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  padding: 1rem;
  border-top: 1px solid #e9ecef
}

.modal-footer>:not(:first-child) {
  margin-left: .25rem
}

.modal-footer>:not(:last-child) {
  margin-right: .25rem
}

.list-unstyled {
  padding-left: 0;
  list-style: none
}

.modal-body ul li {
  font-size: 16px;
}

.modal-body ul li>a:hover {
  cursor: pointer;
}

.modal-body ul li>a {
  color: #0083b3;
}


.m-0 {
  margin: 0 !important
}

.mt-0,
.my-0 {
  margin-top: 0 !important
}

.mr-0,
.mx-0 {
  margin-right: 0 !important
}

.mb-0,
.my-0 {
  margin-bottom: 0 !important
}

.ml-0,
.mx-0 {
  margin-left: 0 !important
}

.m-1 {
  margin: 0.25rem !important
}

.mt-1,
.my-1 {
  margin-top: 0.25rem !important
}

.mr-1,
.mx-1 {
  margin-right: 0.25rem !important
}

.mb-1,
.my-1 {
  margin-bottom: 0.25rem !important
}

.ml-1,
.mx-1 {
  margin-left: 0.25rem !important
}

.m-2 {
  margin: 0.5rem !important
}

.mt-2,
.my-2 {
  margin-top: 0.5rem !important
}

.mr-2,
.mx-2 {
  margin-right: 0.5rem !important
}

.mb-2,
.my-2 {
  margin-bottom: 0.5rem !important
}

.ml-2,
.mx-2 {
  margin-left: 0.5rem !important
}

.m-3 {
  margin: 1rem !important
}

.mt-3,
.my-3 {
  margin-top: 1rem !important
}

.mr-3,
.mx-3 {
  margin-right: 1rem !important
}

.mb-3,
.my-3 {
  margin-bottom: 1rem !important
}

.ml-3,
.mx-3 {
  margin-left: 1rem !important
}

.m-4 {
  margin: 1.5rem !important
}

.mt-4,
.my-4 {
  margin-top: 1.5rem !important
}

.mr-4,
.mx-4 {
  margin-right: 1.5rem !important
}

.mb-4,
.my-4 {
  margin-bottom: 1.5rem !important
}

.ml-4,
.mx-4 {
  margin-left: 1.5rem !important
}

.m-5 {
  margin: 3rem !important
}

.mt-5,
.my-5 {
  margin-top: 3rem !important
}

.mr-5,
.mx-5 {
  margin-right: 3rem !important
}

.mb-5,
.my-5 {
  margin-bottom: 3rem !important
}

.ml-5,
.mx-5 {
  margin-left: 3rem !important
}

.p-0 {
  padding: 0 !important
}

.pt-0,
.py-0 {
  padding-top: 0 !important
}

.pr-0,
.px-0 {
  padding-right: 0 !important
}

.pb-0,
.py-0 {
  padding-bottom: 0 !important
}

.pl-0,
.px-0 {
  padding-left: 0 !important
}

.p-1 {
  padding: 0.25rem !important
}

.pt-1,
.py-1 {
  padding-top: 0.25rem !important
}

.pr-1,
.px-1 {
  padding-right: 0.25rem !important
}

.pb-1,
.py-1 {
  padding-bottom: 0.25rem !important
}

.pl-1,
.px-1 {
  padding-left: 0.25rem !important
}

.p-2 {
  padding: 0.5rem !important
}

.pt-2,
.py-2 {
  padding-top: 0.5rem !important
}

.pr-2,
.px-2 {
  padding-right: 0.5rem !important
}

.pb-2,
.py-2 {
  padding-bottom: 0.5rem !important
}

.pl-2,
.px-2 {
  padding-left: 0.5rem !important
}

.p-3 {
  padding: 1rem !important
}

.pt-3,
.py-3 {
  padding-top: 1rem !important
}

.pr-3,
.px-3 {
  padding-right: 1rem !important
}

.pb-3,
.py-3 {
  padding-bottom: 1rem !important
}

.pl-3,
.px-3 {
  padding-left: 1rem !important
}

.p-4 {
  padding: 1.5rem !important
}

.pt-4,
.py-4 {
  padding-top: 1.5rem !important
}

.pr-4,
.px-4 {
  padding-right: 1.5rem !important
}

.pb-4,
.py-4 {
  padding-bottom: 1.5rem !important
}

.pl-4,
.px-4 {
  padding-left: 1.5rem !important
}

.p-5 {
  padding: 3rem !important
}

.pt-5,
.py-5 {
  padding-top: 3rem !important
}

.pr-5,
.px-5 {
  padding-right: 3rem !important
}

.pb-5,
.py-5 {
  padding-bottom: 3rem !important
}

.pl-5,
.px-5 {
  padding-left: 3rem !important
}

.m-auto {
  margin: auto !important
}

.mt-auto,
.my-auto {
  margin-top: auto !important
}

.mr-auto,
.mx-auto {
  margin-right: auto !important
}

.mb-auto,
.my-auto {
  margin-bottom: auto !important
}

.ml-auto,
.mx-auto {
  margin-left: auto !important
}

.jumbotron {
  padding: 2rem 1rem;
  margin-bottom: 2rem;
  background-color: #e9ecef;
  border-radius: 0.3rem
}

@media (min-width:576px) {
  .jumbotron {
    padding: 0rem 0rem 2rem 2rem;
  }
}

.jumbotron-fluid {
  padding-right: 0;
  padding-left: 0;
  border-radius: 0
}

.jumbotron-hr {
  border-top-color: #d0d5d8;
}

.display-4 {
	font-size: 3.5rem;
	font-weight: 300;
	line-height: 1.2
}

.lead {
	font-size: 1.09375rem;
	font-weight: 300;
  padding-right: 30px;
  text-align: justify;
}

.jumbotron img{
  float: left;
  width: 30%;
  padding: 0px 30px 10px 0px;
  border-radius: 20px;
}

table {
	width: 100%;
	max-width: 100%;
	margin-bottom: 1rem;
	background-color: transparent
}

table td,
table th {
	padding: 0.3rem;
	vertical-align: top;
} 

@media (max-width:576px) {
  .jumbotron h3{
    font-size: 30px;
  }
  .jumbotron img{
    width: 100%;
  }
  .lead {
    font-size: 1.4rem;
  }
  .copyright {
        position: absolute; 
        top: 0px; 
        margin: 0 0 10px 5px; 
        color: #fff; 
        font-size: 12px
    }
}

.copyright {
    position: absolute; 
    bottom: 0px; 
    margin: 0 0 10px 5px; 
    color: #fff; 
    font-size: 14px;
    z-index: -9;
}