
body {
    background-color: #f2f2f2;
    font-family: "Lato";
    font-weight: 300;
    font-size: 16px;
    color: #555;
    padding-top: 50px;

    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
}

/* Titles */
h1, h2, h3, h4, h5, h6 {
    font-family: "Raleway";
    font-weight: 300;
    color: #333;
}


/* Paragraph & Typographic */
p {
    line-height: 28px;
    margin-bottom: 25px;
}

.centered {
    text-align: center;
}

/* Links */
a {

    word-wrap: break-word;

    -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
    -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
    -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
    -o-transition: color 0.1s ease-in, background 0.1s ease-in;
    transition: color 0.1s ease-in, background 0.1s ease-in;
}

a:hover,
a:focus {
    color: #c0392b;
    text-decoration: none;
    outline: 0;
}

a:before,
a:after {
    -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
    -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
    -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
    -o-transition: color 0.1s ease-in, background 0.1s ease-in;
    transition: color 0.1s ease-in, background 0.1s ease-in;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}


/* ==========================================================================
   Wrap Sections
   ========================================================================== */

#headerwrap {
    background-color: #34495e;
    padding-top: 60px;
}

#headerwrap h1 {
    margin-top: 30px;
    color: white;
    font-size: 70px;

}

#headerwrap h3 {
    color: white;
    font-size: 30px;
}

#headerwrap h5 {
    color: white;
    font-weight: 700;
    text-align: left;
}

#headerwrap p {
    text-align: left;
    color: white
}

/* intro Wrap */

#intro {
    padding-top: 20px;
    /*border-top: #bdc3c7 solid 5px;*/
}

#features {
}

#features .ac a{
    font-size: 20px;
}

/* Showcase Wrap */

#showcase {
    display: block;
    /*background-color: #34495e;*/
    background-color:#f2f2f2;
    padding-top: 0px;
    padding-bottom: 0px;
}

#showcase h1 {
    color: black;
}

#footerwrap {
    /*background-color: #f2f2f2;*/
    background-color: #ffffff;
    color: #555;
    padding-top: 40px;
    padding-bottom: 60px;
    text-align: left;
}

#footerwrap h3 {
    font-size: 28px;
    color: #555;
}

#footerwrap p {
    color: #555;
    font-size: 18px;
}

/* Copyright Wrap */

#c {
    background: #222222;
    padding-top: 15px;
    text-align: right;
}

#c p {
    color: white
}


.main-button {
    border:1px solid black;
    height:100px;
}

.nextevents {
    color:white;
}

.event .panel-body {
    background: #BBDEFB;
    border: 1px solid #448AFF;
    padding:0;
    margin:0;
    height:86px;
}
.event .panel-body > div {
    padding: 0 10px;
}
.event .panel-body .rsvp {
    border-left: none;
    padding: 0;
    text-align: center;
    position: relative;
    background: #64B5F6;
    color: white;
    height: 100%;
}

.event .rsvp > div {
    font-size: 12px;
    position: absolute;
    bottom: 0;
    background: #42A5F5;
    width: 100%;
}

.event .rsvp i {
    font-size: 2em;
    display: block;
    position:relative;
    top:17%;
    margin-bottom:5px;
}
.event .rsvp i:last-of-type{
    font-size:1.6em;
}

.event .rsvp span {
    cursor: pointer;
    padding: 0 5px;
    margin: 5px 0;
    width:45%;
}
.event .rsvp span:first-of-type{
    border-right: 1px solid white;
}
.event .rsvp span:hover{
    color: #1565C0;
}

.event .info{
    font-size: 28px;
}

.event .info > div, .event .info > ul{
    font-size: 12px;
}

.event .author .profile-image {
    position: absolute;
    background: white;
    padding: 3px;
    width: 5em;
    border-radius: 50%;
    border: 1px solid #CCC;
    box-sizing: content-box;
    z-index: 1;
    top:4px;
}

.event .author img {
    width:100%;
    border-radius:50%;
}

/* Overwrites */
.nav-tabs a {
    background: #90CAF9;
    color: white;
}
.info .nav-tabs li.active a {
    background-color: #448AFF;
    color: white;
}
.info .nav-tabs li:hover a, .info .nav-tabs li.active:hover a {
    background: #00BCD4;
    color: white;
}
.tab-content {
    background: white;
    border-radius: 0 10px;
    padding: 10px;
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) { 
    .event .panel-body {
        height:45px;
    }

    .event .rsvp {
        min-height:100%;
    }

    .event .rsvp i {
        font-size:2.5em;
        top:5%;
    }

    .event .panel-body .author {
        position: relative;
        color: #2196F3;
        padding:10px;
        height:100%;
    }
    .event .profile {
        position: relative;
        z-index: 0;
        border-left: 2px solid white;
        top: -5px;
        padding-left: 55px;
        height: 100%;
        left: 10%;
    }
    .event .profile strong {
        display: block;
        color: white;
        font:20px bold 'Fredoka One', serif;
        -webkit-text-stroke-width: .6px;
        -webkit-text-stroke-color: #448AFF;
        margin-bottom: 5px;
    }
    .event .author .profile i {
        color:  #448AFF;
        padding-left: 0;
    }
    .event .profile .links {
        position: absolute;
        bottom: 0;
    }
    .event .profile article {
        padding:0 41px 0 0;
    }
    .event .author .profile i:hover{
        color:  #00BCD4;
    }
    .event .author .profile-image {
        position: absolute;
        background: white;
        padding: 3px;
        width: 30%;
        border-radius: 50%;
        border: 1px solid #CCC;
        box-sizing: content-box;
        z-index: 1;
        top:13px;
    }
    .event .author img {
        width: 100%;
        border-radius: 50%;
    }
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) { 
    .event .profile {
        left: 17%;
    }
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {  }

.panel .info {
    color:white;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: #777;
}

.social .fa-facebook:hover {
    color: #4060A5;
}

.social .fa-rss:hover {
    color: #00ABE3;
}

.social .fa-google-plus:hover {
    color: #e64522;
}

.social .fa-linkedin:hover {
    color: #0094BC;
}

.video-section .pattern-overlay {
    background-color: rgba(71, 71, 71, 0.59);
    padding: 110px 0 32px;
    min-height: 600px; 
    /* Incase of overlay problems just increase the min-height*/
}
.video-section h1, .video-section h3{
    text-align:center;
    color:#fff;
}
.video-section h1{
    font-size:110px;
    font-family: 'Buenard', serif;
    font-weight:bold;
    text-transform: uppercase;
    margin: 40px auto 0px;
    text-shadow: 1px 1px 1px #000;
    -webkit-text-shadow: 1px 1px 1px #000;
    -moz-text-shadow: 1px 1px 1px #000;
}
.video-section h3{
    font-size: 25px;
    font-weight:lighter;
    margin: 0px auto 15px;
}
.video-section .buttonBar{display:none;}
.player {font-size: 1px;}

.tf-services i.fa {
    font-size: 40px;
    border: 4px solid #34495e;
    width: 100px;
    height: 100px;
    padding: 27px 25px;
    margin-bottom: 10px;
    border-radius: 50%;
    transition: all 0.5s;
}

.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translate(0, 0);
}

.tf-services i.fa.fa-mobile {
    font-size: 65px;
    padding: 10px 32px;
}

.tf-services .service:hover>i.fa {
    background: #34495e;
    color: #ffffff;
}

.service {
    text-align:center;
}

.navbar-header {
    padding-right:15px;
}

.wide {
    width:100%;
    height:200px;
    background-image:url('../../images/igreja_antas_interior.jpg');
    background-size:cover;
}

.wide img {
    width:100%;
}

.event-list {
    list-style: none;
    font-family: 'Lato', sans-serif;
    margin: 0px;
    padding: 0px;
}
.event-list > li {
    background-color: rgb(255, 255, 255);
    box-shadow: 0px 0px 5px rgb(51, 51, 51);
    box-shadow: 0px 0px 5px rgba(51, 51, 51, 0.7);
    padding: 0px;
    margin: 0px 0px 20px;
    cursor:pointer;
}
.event-list > li > time {
    display: inline-block;
    width: 100%;
    color: rgb(255, 255, 255);
    /*background-color: rgb(197, 44, 102);*/
    background-color:#34495e;
    padding: 5px;
    text-align: center;
    text-transform: uppercase;
}
.event-list > li > time > span {
    /*display: none;*/
}
.event-list > li > time > .day {
    display: block;
    font-size: 56pt;
    font-weight: 100;
    line-height: 1;
}
.event-list > li time > .month {
    display: block;
    font-size: 24pt;
    font-weight: 900;
    line-height: 1;
}
.event-list > li > img {
    width: 100%;
}
.event-list > li > .info {
    padding-top: 5px;
    text-align: center;
    min-height:90px;
}
.event-list > li > .info > .title {
    font-size: 17pt;
    font-weight: 700;
    margin: 0px;
}
.event-list > li > .info > .desc {
    font-size: 13pt;
    font-weight: 300;
    margin: 0px;
}
.event-list > li > .info > ul,
.event-list > li > .social > ul {
    display: table;
    list-style: none;
    margin: 10px 0px 0px;
    padding: 0px;
    width: 100%;
    text-align: center;
}
.event-list > li > .social > ul {
    margin: 0px;
}
.event-list > li > .info > ul > li,
.event-list > li > .social > ul > li {
    display: table-cell;
    cursor: pointer;
    color: rgb(30, 30, 30);
    font-size: 11pt;
    font-weight: 300;
    padding: 3px 0px;
}
.event-list > li > .info > ul > li > a {
    display: block;
    width: 100%;
    color: rgb(30, 30, 30);
    text-decoration: none;
} 
.event-list > li > .social > ul > li {    
    padding: 0px;
}
.event-list > li > .social > ul > li > a {
    padding: 3px 0px;
} 
.event-list > li > .info > ul > li:hover,
.event-list > li > .social > ul > li:hover {
    color: rgb(30, 30, 30);
    background-color: rgb(200, 200, 200);
}

@media (min-width: 768px) {
    .event-list > li {
        position: relative;
        display: block;
        width: 100%;
        height: 130px;
        padding: 0px;
    }
    .event-list > li > time,
    .event-list > li > img  {
        display: inline-block;
    }
    .event-list > li > time,
    .event-list > li > img {
        width: 120px;
        float: left;
    }
    .event-list > li > .info {
        background-color: rgb(245, 245, 245);
        overflow: hidden;
    }
    .event-list > li > time,
    .event-list > li > img {
        width: 120px;
        height: 130px;
        padding: 0px;
        margin: 0px;
    }
    .event-list > li > .info {
        position: relative;
        height: 130px;
        text-align: left;
        padding-right: 40px;
    }	
    .event-list > li > .info > .title, 
    .event-list > li > .info > .desc {
        padding: 0px 10px;
    }
    .event-list > li > .info > ul {
        position: absolute;
        left: 0px;
        bottom: 0px;
    }
    .event-list > li > .social {
        position: absolute;
        top: 0px;
        right: 0px;
        display: block;
        width: 40px;
    }
    .event-list > li > .social > ul {
        border-left: 1px solid rgb(230, 230, 230);
    }
    .event-list > li > .social > ul > li {			
        display: block;
        padding: 0px;
    }
    .event-list > li > .social > ul > li > a {
        display: block;
        width: 40px;
        padding: 10px 0px 9px;
    }
}

.tf-services i.fa.img {
    padding: 3px 3px !important;
}

.tf-services a {
    color: #34495e;
}

.container .tf-services .container .row {
    display: flex;
    flex-wrap: wrap;
}
