/*
 * Theme Name: 323 Design WordPress Theme
* Theme URI: https://www.323design.com/
* Author: 323 Design
* Author URI: https://www.323design.com/
* Description: This is the base starter WordPress theme by 323 Design. If you wish to make changes to your design or discuss a redesign visit <a href="https://323design.com">323design.com</a>.
* Version: 1.0
* License: &copy Copyright 323 Design
*/

/*Universal*/
body {
	font-family:'Bitter', serif;
	font-weight:300;
	color:#333;
}

p, ul, li {
	font-size:16px;
	font-family:'Open Sans', 'Hevetica', sans-serif;
	font-weight:400;
	line-height:24px;
}

p {
	margin-bottom:25px;
	line-height:24px;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: 'Bitter', serif;
	font-size: 24px;
	font-weight:300;
	color:#0F7FB2;
}

h1, .h1, h2, .h2, h3, .h3 {
	text-decoration:none !important;
}

h1 {
	font-size: 30px;
}

iframe {
	width: 100%;
	max-height: 60vh;
}

a {
	color: #0f7fb2;
	font-weight: 700;
	text-decoration: none;
}

a:hover, a:focus {
	color: #95BB34;
	text-decoration: none;
}

.btn-primary {
	color: #fff;
	background-color: #95BB33;
	border: 1px solid #95BB33;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
	background-color:#0F7FB2;
}
/*classes*/
.strong {
	font-weight:700;
}

.alignright {
	float:right;
	margin-left:25px;
	margin-right:0px;
}

.alignleft {
	float:left;
}

.img-round {
	border-radius: 100%;
	margin: 15px;
}

/*header*/
.head {
	height:100px;
	background:white no-repeat;
	background-image:url(/wp-content/themes/TNSinus/img/bg-header.jpg);
}

.head .container {
	text-align: center;
}

.navbar-brand {
	width: 100%;
	padding: 0px;
}

.navbar-brand img {
	text-align: center;
	margin: auto;
}

.navbar {
	background:#0F7FB2;
	margin-bottom: 0px;
}

nav > ul > li:last-of-type {
	overflow: hidden;
	height: 0px;
}

.navbar-default #menu-main > li > a {
	font-size:16px;
	font-weight: 600;
	color: white;
}

.navbar-default #menu-main > li > a:hover,
.navbar-default #menu-main > li > a:focus {
	text-decoration: none;
	background-color: rgba(1,1,1,0);
	color: white;
}

.navbar-default #menu-main > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
	background-color: rgba(1,1,1,0);
}

.navbar-header .navbar-toggle .icon-bar {
	background-color:white;
	padding-top: 3px;
}

.navbar-header .navbar-toggle .icon-text {
	margin-left:10px;
	color:white;
	font-weight:600;
}

#main-content {
	margin: 30px 0px;
}

/*slider*/
.theme-default .nivoSlider {
	
}

.metaslider {
	box-shadow: 0px 0px 20px -5px #bbb;
}

/*bilboard*/
#billboard {
	background-color:#0F7FB2;
	color: #fff;
}

#billboard > div {
	text-align:center;
	padding: 30px 0px 50px 0px;
	font-size:16px;
	background: top center no-repeat url('/wp-content/themes/Forte2013/img/bg-shadow.png');
	background-size:100%;
}

#billboard div .billboard-img {
	background-position:center; 
	background-size:auto 200px;
	width:200px;
	height:200px;
	border-radius: 100%;
	box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, .1);
	margin:15px auto 25px auto;
}

#billboard h2 {
	color:white;
}

/*sidebar*/
.sidebar {
	padding-left: 50px;
}

.sidebar aside:not(:last-of-type) {
	border-bottom: solid 1px #ebebeb;
	padding-bottom: 20px;
}

.sidebar aside:not(:first-of-type) {
	margin-top: 20px;
}

.sidebar img {
	display: inline-block;
	vertical-align: middle;
	margin-right:15px;
}

.sidebar h2 {
	display: inline-block;
	vertical-align: middle;
	font-size: 18px;
}

/*footer*/
#foot-menu {
	margin: 30px 0px;
	color:#333;
}

/*low footer*/
#foot-container {
	background-color: #0a699f;
}

#foot-container .container {
	text-align:center;
}

#foot-container .container p {
	margin-bottom:0px;
	font-size: 14px;
	color: #fff;
	line-height:40px;
}

#foot-container .container a {
	color: #95BB33;
}

/*media quieres*/

@media (min-width: 768px) {
	.container > .navbar-collapse {
		vertical-align: middle;
		display: inline-block !important;
		width: 100%;
	}
	
	nav > ul {
		width: 100%;
		height: 48px;
		margin: 0px;
		padding: 0px;
		text-align: justify;
	}
	
	nav > ul > li {
		float: none !important;
		display: inline-block;
		margin: 12px 0px;
	}
	
	nav > ul > li:last-of-type {
		width: 100%;
	}
}

@media (min-width:1200px) {
	
}

@media (max-width:1200px) and (min-width:992px) {
	
}

@media (max-width:991px) and (min-width:768px) {
	.navbar #menu-main > li > a {
		font-family: "Oswald", "Open Sans", "Hevetica", sans-serif;
		font-weight: 400;
	}
	.nivo-caption {
		font-size: 30px;
		width: 400px !important;
		height: 140px;
	}
}

@media (max-width:767px) {
	.navbar-brand {
		position: relative;
		height: 100px;
	}
	.navbar-brand img {
		width: 290px;
		position: absolute;
		top: 0px;
		bottom: 0px;
		left: 0px;
		right: 0px;
	}
	
	.nivo-caption {
		font-size: 16px;
		width: 180px !important;
		height: 100px;
	}
	.nav > li > ul > li > a {
		color:white !important;
	}
	.nav {
		position: static;
		left: 0px;
		width: 100%;
		margin-left: 0px;
	}
	.navbar-header .navbar-toggle {
		float: none;
		width: 152px;
		margin-left: -76px;
		left: 50%;
	}
	.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
		background-color: #181e24;
	}
	.logos img {
		height: 65px;
	}
	.container div.logos {
		width: 346px;
		margin-left: -174px;
	}
	.TeamMember .wp-post-image {
		position: relative;
		float:none;
		left:50%;
		margin-left:-105px;
	}
}

// 2015-08-01

.navbar nav > ul > li:last-of-type {
    overflow: hidden;
    width: 100%;
    height: 0px;
}

.navbar li {
	font-size: 15px;
}

@media (min-width: 768px) {
    nav {

    }
    nav > ul {
        width: 100%;
        margin-bottom: -1.5em;
        /*Compensate for hidden nav element*/
        text-align: justify;
    }
    nav > ul > li {
        display: inline-block;
    }
}
@media (max-width: 767px) {
    .navbar nav > ul > li:not(:last-of-type) {
        padding: 12px 0px;
    }
    .navbar nav > ul > li:not(:nth-last-of-type(2)):not(:nth-last-of-type(1)) {
        border-bottom: 1px solid #ebebeb;
    }
}
.navbar nav a {
    transition: color 0.25s ease;
    position: relative;
    color: #fff;
}
.navbar nav li.menu-item-has-children {
    position: relative;
}
.navbar nav li.menu-item-has-children > a {
    margin-right: 15px;
}
.navbar nav li.menu-item-has-children > a:after {
    content:"\f107";
    position: absolute;
    right: -15px;
    font-family: FontAwesome;
    font-size: 12px;
}
.navbar nav ul {
    list-style: none;
    padding-left: 0px;
}
.navbar ul.sub-menu {
    max-height: 0px;
    overflow: hidden;
}
.navbar ul.sub-menu.is-visible,
.navbar li.menu-item-has-children:hover > ul {
    transition: max-height 0.6s ease 0s;
    max-height: 400px;
}
@media (min-width: 768px) {
    .navbar {
    	border-radius: 0px;
    }
    .navbar nav > ul > li > a {
        padding-bottom: 15px;
        /*Drop down menu hover area*/
    }
    .navbar ul.sub-menu {
        position: absolute;
        z-index: 10;
        box-sizing: border-box;
        margin-top: 14px;
        min-width: 220px;
        box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, 0.2);
        background-color: #fff;
    }
    .navbar ul.sub-menu li:not(:last-of-type) {
        border-bottom: 1px solid #ebebeb;
    }
    .navbar ul.sub-menu a {
        transition: all 0.2s ease-in-out 0s;
        display: block;
        padding: 7px 20px 7px 15px;
        white-space: nowrap;
        color: #333;
        font-weight: 400;
    }
    .navbar ul.sub-menu a:hover {
        padding-right: 15px;
        padding-left: 20px;
        color: #0F7FB2;
    }
}
@media (max-width: 767px) {
    .navbar {
        height: initial;
    }
    .navbar nav {
        display: none;
        border-top: 1px solid #ebebeb;
        margin: auto -15px;
    }
    .navbar nav > ul {
        font-size: 18px;
        text-align: center;
    }
    .navbar ul.sub-menu {
        font-size: 16px;
    }
    .navbar ul.sub-menu a {
        font-weight: 400;
    }
    .navbar ul.sub-menu li {
        margin: 15px 0px;
    }
}