/*
Theme Name: Odontologia UFRJ
Author: Ivo Costa Nascimento e Joabe Pinheiro
Version: 1.0
License: GNU General Public License v2 or later
Tags: odontologia, ufrj
*/



img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
a img.alignright {float:right; margin:0 0 1em 1em}
a img.alignleft {float:left; margin:0 1em 1em 0}
a img.aligncenter {display: block; margin-left: auto; margin-right: auto}




html,body        {height:100%;}
.wrapper         {width:80%;height:100%;margin:0 auto;background:#CCC}
.h_iframe        {position:relative;}
.h_iframe .ratio {display:block;width:100%;height:auto;}
.h_iframe iframe {position:absolute;top:0;left:0;width:100%; height:100%;  }


body{
    padding: 0px;
    margin: 0px;
    font-family: 'Raleway', sans-serif;
    overflow-x: hidden;
}


#top-header{
    background: #dcdfd6;
    padding: 5px 0;
    font-size: 12px;
    font-weight: 600;
    color: #5a5c5b;
}

#header{
    padding: 24px 0;
}

#logo img{
    display: block;
    height: auto;
    margin: auto;
}

#social{
    margin-top: -70px;
}

#social a{
    color: #85c340;
}

#social .btn-default{
    border: none;
    font-size: 25px;
}

#social .btn-default:hover{
    background: #85c340;
}
#social .btn-default:hover a{
    color: #fff;
}


#social .btn-group-lg>.btn,
#social .btn,
#social  .btn-lg{
    border-radius: 0;
}


#menu{
    background: #1a5d88;

}

#menu .navbar-nav>li>a{
    color: #e5e9ea;
    font-weight: 400;
    font-size: 18px;
    padding: 21px 17px;
}



#menu  .navbar-nav {
    width: 100%;
    text-align: center;
}
#menu .navbar-nav > li {
    float: none;
    display: inline-block;
}

#menu .nav>li>a:focus, #menu .nav>li>a:hover{
    background: #134a6d;
}


#detaque{
    padding: 60px 0;
}

#detaque a:hover{
    text-decoration: none;
}

#detaque ul{
    padding: 0;
    margin: 0;
}

#detaque ul li{
    list-style: none;
    display: inline-block;
    width: 19%;
    margin: 0;
    padding: 20px 0;
    border-left: 1px solid #e3e3e3;

}

#detaque ul li:first-child{
    border-left: none;
}

#detaque ul li:hover,
#detaque ul li:hover .circulo,
#detaque ul li:hover h5{
    background: #134a6d;
    color: #fff;
}

#detaque .circulo{
    width: 130px;
    height: 130px;
    background: #86c341;
    border-radius: 90px;
    margin: auto;
}

#detaque .circulo img{
    max-width: 100%;
    display: block;
    margin: auto;
    padding-top: 30px;
}

#detaque h5{
    margin-top: 19px;
    text-align: center;
    color: #1a5d8a;
    font-size: 19px;
    font-weight: 700;
}


#novidades{
    background: #86c341;
    padding: 15px 0;
}

#novidades h3{
    font-size: 25px;
    color: #fff;
    text-align: center;
    font-weight: 800;
    display: block;
    margin-bottom: 10px;
    padding-left: 15%;
}

#novidades a{
    color: #1b1b1b;
}

#novidades a:hover{
    text-decoration: none;
    color: #666;
}

#novidades .item-novidade{
    margin: 20px 0;
}

#novidades .item-novidade img{
    width: 100%;
    height: auto;
}

#novidades .item-novidade .descricao{
    background: #fff;
    padding: 15px;
    font-weight: 500;
    height: 150px;
    overflow: hidden;
}


#novidades .item-novidade .descricao p{
    height: 100px;
    overflow: hidden;
}


#novidades .link-veja-mais{
    margin-top: -23px;
    float: right;
    margin-right: 5%;
}


.container-teleodontologia{
    width: 80%;
    margin: auto;
    display: block;
}

.container-teleodontologia img{
    width: 100%;
    height:auto;
}

#teleodontologia{
    background: #eef4e7;
    padding-bottom: 20px;
}

#teleodontologia .link-veja-mais{
    margin-top: -9px;
    float: right;
    margin-right: 5%;
}

#teleodontologia h3{
    font-size: 25px;
    color: #1a5d88;
    text-align: center;
    font-weight: 800;
    display: block;
    margin-top: 41px;
    margin-bottom: 25px;
}

#teleodontologia .col-md-3{
    color: #484848;
    font-weight: 700;
    font-size: 16px;
}

.slick-prev::before, .slick-next::before{
    color: #1a5d88;


}


.slick-dots{
    display: none;
}


/** search **/
#search {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);

    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;

    -webkit-transform: translate(0px, -100%) scale(0, 0);
    -moz-transform: translate(0px, -100%) scale(0, 0);
    -o-transform: translate(0px, -100%) scale(0, 0);
    -ms-transform: translate(0px, -100%) scale(0, 0);
    transform: translate(0px, -100%) scale(0, 0);

    opacity: 0;
    position: absolute;
    z-index: 999999;
}

#search.open {
    -webkit-transform: translate(0px, 0px) scale(1, 1);
    -moz-transform: translate(0px, 0px) scale(1, 1);
    -o-transform: translate(0px, 0px) scale(1, 1);
    -ms-transform: translate(0px, 0px) scale(1, 1);
    transform: translate(0px, 0px) scale(1, 1);
    opacity: 1;
}

#search input[type="search"] {
    position: absolute;
    top: 50%;
    width: 100%;
    color: rgb(255, 255, 255);
    background: rgba(0, 0, 0, 0);
    font-size: 60px;
    font-weight: 300;
    text-align: center;
    border: 0px;
    margin: 0px auto;
    margin-top: -51px;
    padding-left: 30px;
    padding-right: 30px;
    outline: none;
}
#search .btn {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: 61px;
    margin-left: -45px;
}
#search .close {
    position: fixed;
    top: 15px;
    right: 15px;
    color: #fff;
    background-color: #428bca;
    border-color: #357ebd;
    opacity: 1;
    padding: 10px 17px;
    font-size: 27px;
}

#footer{
    text-align: center;
    padding: 40px 0;
}

.search h1{
    color: #86c341;
}


.search h2 a{
    color: #1b1b1b;
}

.search h2 a:hover{
    text-decoration: none;
    color: #000000;
}

.page h3,
.page h2{
    padding-top: 15px;
    padding-bottom: 10px;
}