/*
Theme Name: Modelo Instituto
Author: Operação PHP
Author URI: http://www.sti.uff.br/
Version: 1.1
*/

.nav .open > a, .nav .open > a:focus, .nav .open > a:hover {
    background-color: #609ed5 !important;
}

.dropdown-menu {
    background-color: #609ed5 !important;
}

.dropdown-menu > li > a:focus, .dropdown-menu > li > a:hover {
    background-color: #aaa !important;
}

#informacao input, #informacao select, #informacao textarea {
    background-color: #fff !important;
    border: 1px solid #92bce2;
    float: left;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    padding: 2%;
    width: auto;
    width: 70%;
}

#informacao .wpcf7-form-control.wpcf7-submit {
    float: right !important;
    width: 25% !important;
}

.dropdown-menu {
    background-color: #005AAB !important;
}

div#titulo h1 {
    line-height: 1.2 !important;
}

#auxmenu, #auxmenu .navbar-default {
    height: 40px;
}

.nav>li>a {
    padding: 10px 0;
}

div#erro p {
    font-size: 16px;
}
div#erro h1 {
    font-size: 40px;
}
div#erro {
    text-align: center;
}

.open>.dropdown-menu {
    width: auto !important;
    background: #247382 !important;
    text-align: center !important;
    margin-bottom: 10px;
}

ul.dropdown-menu a {
    color: #fff;
    font-weight: bold;
    padding: 10px;
    border-bottom: solid 2px;
}

.nav>li>a {
    padding: 10px 0;
    display: inline-table;
    vertical-align: middle;
    float: none;
    text-align: center !important;
    width: 100%;
}

.dropdown-menu>.active>a, .dropdown-menu>.active>a:focus, .dropdown-menu>.active>a:hover {
    background: #f2f2f2 !important;
}

div#copyright p {
    color: #fff;
}

@media all and (max-width: 980px) {
	#auxmenu a {
    		height: auto;
		overflow: hidden;
	}

	.open>.dropdown-menu {
    		display: block;
    		z-index: 9999;
    		position: relative;
    		height: auto;
    		width: 100%;
		text-align: center;
	    	margin-bottom: 10px;
	}

	.nav > li, .nav > li > a:focus, .nav > li > a:hover {
    		overflow: hidden;
    		cursor: pointer;
	}
}

@media all and (max-width: 767px) {
	.nav > li, .nav > li > a:focus, .nav > li > a:hover {
    		position: inherit !important;
	}

	.dropdown-menu {
    		position: relative !important;
	}

	.open>.dropdown-menu {
		width: 100% !important;
	}

	.nav > li, .nav > li > a {
    		background: #247BA0;
	}

	.menu-item.menu-item-type-post_type.menu-item-object-page.current-menu-item.page_item.current_page_item.active a {
		color: #fff;
	}

	#menuboxgraduacao, #menuboxposgraduacao, #menuboxpesquisa, #menuboxextensao {
    		margin-top: 5%;
    		width: 100%;
    		text-align: left;
    		margin: auto;
	}
}

div#title-header h1 {
    line-height: 6;
    font-weight: bold;
}

/* SlideShow */
.slideshow_title {
    font-weight: bold;
}

.slideshow_description_box.slideshow_transparent {
    padding: 10px 30px 21px;
    opacity: 0.7 !important;
}

.slideshow_container_style-light .slideshow_slide_text {
    padding: 10px 30px 21px;
}

.slideshow_container_style-light .slideshow_slide_text {
	padding: 30px;
	align-items: center !important;
}

.slideshow_container .slideshow_view .slideshow_slide {
    position: relative !important;
    float: left !important;
    overflow: hidden !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    resize: vertical;
}

/* FORMATAÇÃO MENU */

.menu-item-has-children > a:after {
    margin-left: 5px;
    content: "";
    display: inline-block;
    vertical-align: middle;
    margin-right: 0;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #fff;
}

ul.sub-menu {
    display: none;
    position: relative;
    background: #aaa;
    list-style: none;
    padding: 0;
}

.menu-item-has-children:hover > .sub-menu {
    display: block !important;
}

ul.sub-menu li {
	padding: 0;
}

ul.sub-menu li:hover {
	background: #b7d9ff;
   	color: #005AB7 !important;
   	cursor: pointer;
}

ul.sub-menu a {
    text-align: center !important;
    padding: 10px 0;
    border: none !important;
    position: relative !important;
    width: 100%;
    float: right;
    background: #aaa;
}

@media all and (max-width: 767px) {
	ul.dropdown-menu {
	    display: block;
	    width: 100%;
	}

	.open>.dropdown-menu {
	    display: block;
	}

	ul.sub-menu {
	    display: block;
	    position: relative;
	    background: #aaa;
	    list-style: none;
	    padding: 0;
	}

	.menu-item-has-children:hover > .sub-menu {
	    display: block !important;
	}

	#auxmenu li a {
	    text-align: left !important;
	}

	ul.sub-menu a {
	    text-align: left !important;
	    padding: 0 60px;
	    border: none !important;
	}
}
