/*
Theme Name: Allegro
Theme URI: 
Author: noname
Author URI: 
Description: Allegro Theme
Version: 1.0.0
License: GNU General Public License
*/

/*
@import url('stylesheets/style.css');
*/


.dropdown:hover .dropdown-menu {
	display: block;
}

* {
	font-family: 'Open Sans', sans-serif;
}

p {
	font-family: 'PT Sans', sans-serif;
	margin-bottom: 1em;
}

em {
    font-family: 'PT Sans', sans-serif;
    font-size: 16px;
}

html {
  position: relative;
  min-height: 100%;
  -webkit-transform: scale(0.75) translate(0, -17%);
  -ms-transform: scale(0.75) translate(0, -17%);
  transform: scale(0.75) translate(0, -17%);
}

body {
	background-color: #ffffff;
	margin-bottom: 0px;
}
#sb-site {
	background-color: #ffffff;
}

.white-bg {
	background-color: #ffffff;
}
.blue-bg {
	background-color: #eeeeee;
}

.container {
	max-width: 1100px;
	padding: 0 0px;
}

h2, h3, h4 {
	font-weight: 700;
	color: #00965f;
}
h2 { font-size: 24px; }
h3 { font-size: 20px; }
h4 { font-size: 16px; }


.txt-lg {
	font-size: 19px;
}


/***** HEADER *****/

header {
	margin: 0 auto;
	border-bottom: 1px solid #00965f;
	/*box-shadow: 0 0 5px #00965f;*/
	font-size: 14px;
	line-height: 20px;
	font-weight: 600;
	position: relative;
	z-index: 9999;
}

.navbar {
	border: 0;
}

header .dropdown-menu {
	z-index: 99;
	/*background-clip: content-box;*/
}

.navbar-default {
	background-color: #ffffff;
}
.navbar-default .navbar-nav > li > a {
	color: #00965f;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li:hover > a {
	color: #b7cdc1;
}

header .container {
	color: #fc0;
}
header .navbar {
	margin-bottom: 0;
}
header .navbar-nav > li > a {
	padding-top: 25px;
	padding-bottom: 24px;
}

header li > a.dropdown-toggle {
	background: transparent url('images/arrow-down.png') 0 30px no-repeat;
	padding-left: 22px;
}
header li:hover > a.dropdown-toggle, header a.dropdown-toggle:focus {
	background: transparent url('images/arrow-down.png') 0 -34px no-repeat;
}
header .navbar-nav {
	margin-left: 34px;
}

.nav > li > a:hover, .nav > li > a:focus {
	background-color: transparent;
}
.nav .open > a, .nav .open > a:hover, .nav .open > a:focus {
	background-color: transparent;
}

header .dropdown-menu {
	box-shadow: 0 6px 12px -2px #b7cdc1;
	border-radius: 8px;
	border: 2px solid #b7cdc1;
	border-top: 1px solid #00965f;
	/*
	background: #ffffff url('images/shaddow-down.png') 0 0 repeat-x;
	*/
}

header .dropdown-menu > li > a {
	background: url('images/arrow-right.png') 9px 8px no-repeat;
	color: #00965f;
	font-size: 14px;
	font-weight: 600;
	padding-left: 31px;
}
header .dropdown-menu > li > a:hover,
header .dropdown-menu > li > a:hover {
	background: #b7cdc1 url('images/arrow-right.png') 9px -56px no-repeat;
	color: #ffffff;
}

header .navbar-toggle {
	margin-top: 18px;
}


header .container {
	position: relative;
}

#search-box {
	position: absolute;
	top: 0;
	right: 65px;
}

#search-box input {
    height: 30px;
}

#search-box span.input-group-btn {
    height: 30px;
}

header .input-group {
	width: 180px;
	margin-top: 20px;
}
header .form-control {
	background: #b7cdc1;
	border: 1px solid #b7cdc1;
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	padding: 4px 15px;
	height: auto;
	max-width: 200px;
	border-radius: 12px;
	box-shadow: none;
}

.form-control::-webkit-input-placeholder { /* WebKit browsers */
    color:    #ffffff;
}
.form-control::-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:    #ffffff;
    opacity:  1;
}
.form-control::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:    #ffffff;
    opacity:  1;
}
.form-control::-ms-input-placeholder { /* Internet Explorer 10+ */
    color:    #ffffff;
}

header .input-group .btn {
	font-size: 18px;
	line-height: 18px;
	color: #ffffff;
	background: #b7cdc1;
	border-radius: 12px;
	padding: 4px 12px;
    height: 30px;
    border: 1px solid #b7cdc1;
}



.main-content {
	margin-top: 24px;
	position: relative;
	z-index: 0;
}

.hp-img-container {
	text-align: center;
}
.hp-img-container img {
	max-width: 100%;
	height: auto;
}

#allegro_main {
    display: none;
}

#allegro_main_1 {

}

#allegro_main_2 {

}

#allegro_main_3 {

}

#allegro_main_4 {

}

#allegro_main_5 {

}

#allegro_main_6 {

}

#hp-logo-lg {
	position: absolute;
	top: 0;
	left: 0;
	width: 28%;
}

#hp-title-lg {
    position: absolute;
    top: 30%;
    left: 30px;
    width: 23%;
}


/***** BALL LINK MENU *****/


.ball-link-menu-container {
	margin-top: 10px;
	margin-bottom: 180px;
	padding: 0 5px 0 5px;
	position: relative;
}
.ball-links-img-container img {
	position: absolute;
	bottom: 10px;
}
.ball-link-img-left {
	left: 0;
}
.ball-link-img-right {
	right: 0;
}


.ball-link-menu {
	float: none;
}
.ball-link-menu > li {
	width: 16%;
}

.ball-link-menu >li >a {
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	background: url('images/ball-link-arrows.png') 50% 30px no-repeat;
	color: #b7cdc1;
	padding: 0px 15px;
	height: 80px;
	text-align: center;
}
.ball-link-menu > li:hover > a {
	background: url('images/ball-link-arrows.png') 50% -98px no-repeat;	
	color: #00955d;
}

.ball-link-menu .dropdown-menu {
	border-radius: 8px !important;
	border: 2px solid #b7cdc1;
	white-space: nowrap;
}
.ball-link-menu .dropdown-menu > li > ul li {
	list-style: none outside none;
}
.ball-link-menu .dropdown-menu > li > ul a {
	display: block;
	background-color: #fc0;
	background: url('images/bullet-point-disc.png') 0 6px  no-repeat;
	font-size: 13px;
	padding: 0 10px;
	color: #00955d;
}

.ball-link-menu-container > ul > li:hover > ul {
	
}




/***** CONTENT *****/
.content-wrapper {
	margin: 20px 0;
	padding: 15px;
	font-size: 19px;
    min-height: 330px;
    font-family: 'PT Sans', sans-serif;
}

.content-wrapper img {
	/*width: 100%;*/
	height: auto;
}


#menu * { 
    padding:0; 
    margin: 0; 
    list-style-type:none;
}
#menu a { 
    display: block; 
    text-decoration: none; 
	cursor: pointer;
}
#menu > ul > li {
    float: left; 
    width: 15%;
	margin-bottom: 15px;
}
#menu > ul > li:nth-of-type(1) {
	width: 5%;
	height: 70px;
	background: url('images/ball-link-left.png') 0 10px no-repeat;
}
#menu > ul > li:last-of-type {
	width: 5%;
	height: 70px;
	background: url('images/ball-link-right.png') 100% 10px no-repeat;
}
#menu li{ 
    position:relative; 
}

#menu ul li {
	white-space: nowrap;
}

#menu > ul > li > ul, #menu:hover > ul > li > ul, #menu:hover > ul > li:hover > ul { 
   	display:none;
    list-style-type:none; 
	background-color: #ffffff;
	min-width: 160px;
	white-space: nowrap;
	border-radius: 8px !important;
	border: 2px solid #b7cdc1;
	box-shadow: 0 6px 12px -2px #b7cdc1;
	padding: 5px 0;
	
	/*
    display:block;
    position: absolute;
    bottom:100%;
	*/
}
#menu > ul > li:nth-of-type(2) > ul {
	left:  -25px;
}
#menu > ul > li:nth-of-type(3) > ul {
	left:  -45px;
}
#menu > ul > li:nth-of-type(4) > ul {
	left:  -45px;
}
#menu > ul > li:nth-of-type(5) > ul {
	right:  -65px;
}
#menu > ul > li:nth-of-type(6) > ul {
	right:  -65px;
}
#menu > ul > li:nth-of-type(7) > ul {
	right:  -25px;
}

#menu > ul > li > ul > li > a {
	background: url('images/arrow-right.png') 9px 8px no-repeat;
	font-size: 14px;
	font-weight: 600;
	color: #00965f;
	padding: 3px 20px 3px 31px;
}
#menu > ul > li > ul > li > a:hover {
	background: #b7cdc1 url('images/arrow-right.png') 9px -56px no-repeat;
	color: #ffffff;
}

#menu:hover ul, #menu:hover ul li:hover ul, #menu:hover ul li:hover ul li:hover ul { 
    display:block;
}
#menu:hover > ul > li:hover > ul { 
    position: absolute;
}
#menu.menu-up>ul>li:hover>ul { 
    bottom:100%;
}
#menu.menu-down>ul>li:hover>ul { 
	top: 100%;
}

#menu.menu-down {
	/*margin-bottom: 300px;*/
    padding: 0 70px;
}
#menu.menu-up {
	margin-bottom: 195px;
}

#menu > ul > li > a {
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	color: #b7cdc1;
	background: url('images/ball-link-arrows.png') 50% 10px no-repeat;
	padding-top: 60px;
	padding-bottom: 0px;
	text-align: center;
}
#menu > ul > li:hover > a {
	background: url('images/ball-link-arrows.png') 50% -246px no-repeat;
	color: #00955d;
}
#menu.menu-down > ul > li:hover > a {
	background: url('images/ball-link-arrows.png') 50% -118px no-repeat;
}

#menu ul > li > ul > li > ul > li {
	list-style: none outside none;
	padding: 0 0 0 40px;
}
#menu ul > li > ul > li > ul a {
	display: block;
	background-color: #fc0;
	background: url('images/bullet-point-disc.png') 0 6px  no-repeat;
	font-size: 13px;
	padding: 0 10px;
	color: #00955d;
}
#menu ul > li > ul > li > ul a:hover {
	text-decoration: underline;
}

#title-below-menu {
    /*margin: 130px 0 180px 0;*/
    font-size: 22px;
    text-align: center;
    color: #00965f;
    /*padding: 0 100px;*/
    padding: 130px 0 180px 0;
}


/***** FOOTER *****/

footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	/* Set the fixed height of the footer here */
	min-height: 65px;
	background-color: #ffffff;
	border-top: 4px solid #b7cdc1;
	padding-top: 14px;
	padding-bottom: 13px;
	font-size: 12px;
	line-height: 24px;
	color: #00955d;
	z-index: 0;
}
footer ul {
	list-style: none outside none;
	margin: 0 -15px;
	padding: 0;
}
footer ul li {
	float: left;
}
footer a {
	display: inline-block;
	padding: 5px 8px;
	color: #00955d;	
}
footer a:hover,
footer a:focus {
	color: #00955d;
}
footer li span {
	display: inline-block;
	padding: 5px 8px;
}
footer .icon-mail {
	background: url('images/icon-mail.png') 0 50% no-repeat;
	display: block;
	float: left;
	width: 22px;
	height: 34px;
}
footer .icon-phone {
	background: url('images/icon-phone.png') 0 50% no-repeat;
	display: block;
	float: left;
	width: 16px;
	height: 34px;
}


/***** CAROUSEL *****/


.carousel-wrapper {
	background-color: #ffffff;
	padding-bottom: 20px;
}
.carousel-arrow {
	position: absolute;
	z-index: 5;
	top: 0;
	font-size: 38px;
	line-height: 38px;
	height: 100%;
	width: 70px;
	padding: 0;
	margin: 0;
}
.carousel-arrow.left {
	left: -70px;
	outline: 0;
}
.carousel-arrow.right {
	right: -70px;
	outline: 0;
}
.carousel-arrow img {
	max-width: 100%;
	height: auto;
	position: absolute;
	top: 50%;
	left: 18px;
	margin-top: -19px;
}
.carousel-caption {
	background: #fc0;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 0;
	margin: 0;
	text-align: left;
	top: 20px;
	left: 20px;
	width: 270px;
	margin-bottom: 20px;
	padding: 0 20px;
	background: rgba(183,205,193,0.8);
	text-shadow: none;
	font-size: 16px;
    height: 80px;
}
.carousel-caption h2 {
	font-size: 32px;
	font-weight: 800;
	color: #ffffff;
}
.arrow-container {
	position: absolute;
	margin: 0;
	padding: 0;
	right: 3.75%; /*36px*/
	top: 6.098%; /*15px*/
	width: 20.3125%;
}
.arrow-container img {
	position: relative;
	max-width: 100%;
	height: auto;
}

/***** SLIDEBAR *****/
.sb-slidebar {
	width: 200px;
	padding: 15px 10px 5px 10px;;
	background-color: #ffffff;
	border-left: 1px solid #bebebe;
	
	font-size: 12px;
	font-weight: 600;
	color: #00965f;
}

.sb-slidebar a {
	display: block;
	padding: 5px 10px 5px 20px;
	line-height: 20px;
	text-decoration: none;
	font-size: 12px;
	font-weight: 600;
	color: #00965f;
}
.sb-slidebar a:hover,
.sb-slidebar .dropdown:hover > a {
	color: #b7cdc1;
}
.sb-slidebar .dropdown > a {
	background: url('images/arrow-slidemenu.png') 0 10px no-repeat;
}
.sb-slidebar .dropdown:hover > a {
	background: url('images/arrow-slidemenu.png') 0 -54px no-repeat;
}

.sb-slidebar .dropdown ul {
	margin-left: 10px;
}
.sb-slidebar ul {
	padding-left: 0;
	margin-bottom: 0;
	list-style: none outside none;
}
.sb-slidebar .dropdown ul {
	/*
	display: none;
	*/
}
.sb-slidebar .dropdown:hover ul {
	/*
	display: block;
	*/
}



/***** SEARCH RESULTS *****/

.search-result-container {
	abackground-color: #fc0;
	margin: 20px 0 30px 0;
}
.search-result-container a {
	color: #00965f;
}
.search-result-container a.read-more {
	font-weight: 600;
	font-family: 'PT Sans', sans-serif;
}
.search-result-container h6 {
	font-weight: 600;
}
.search-result-container p {
	margin-bottom: 0;
}

.btn-green {
	background: #00965f;
	color: #fff;
	margin: 12px 0 24px 0;
	font-size: 24px;
	padding: 8px 40px;
}

a {
	color: #00965f;
	text-decoration: none;
}

.wpcf7-form .control-group p {
    line-height: 1px;
    margin: 0;
}
.wpcf7-form .control-group input,
.wpcf7-form .control-group textarea {
    width: 100%;
    padding: 10px;
    margin-top: 15px;
}
.wpcf7-form button {
    margin-bottom: 30px;
}

#wpjb_submit {
    margin-top: 30px;
}

.wpjb-flash-error {
    color: #FF0000;
}

.wpjb-errors {
    list-style: none;
    color: #ff0000;
    padding-left: 3px;
}

.wpjb-element-name-image,
.wpjb-element-name-phone,
.wpjb-element-name-user_url,
.wpjb-element-name-description,
.wpjb-element-name-category,
.wpjb-element-name-headline {
    display: none;
}

.wpjb-form fieldset {
    margin-bottom: 30px;
}

.wpjb-flash-info {
    color: #CEA500;
}

.wpjb-hint {
    color: #949494;
}

.login-btn {
    position: absolute;
    top: 25px;
    right: 0;
    color: #00965f;
}

.login-btn:hover {
    text-decoration: none;
    color: #b7cdc1
}

.footer-thinking {
    max-width: 100%;
}

.footer-thinking-top {
    max-width: 240px;
    width: 100%;
    margin: 0 auto;
    display: block;
}

/***** MEDIA QUERY *****/
@media screen and (max-width: 992px) {
	html {
		-webkit-transform: scale(1.00) translate(0, 0%);
		-ms-transform: scale(1.00) translate(0, 0%);
		transform: scale(1.00) translate(0, 0%);
	}


	.container {
		padding: 0 15px;
	}
	
	.carousel-caption h2 {
		font-size: 20px;
	}	
	.carousel-caption {
		font-size: 14px;
		top: 15px;
		left: 15px;
		margin-bottom: 15px;
	}
	.carousel .item {
		width: 90%;
		margin: 0 auto;
	}
	.carousel-arrow.left {
		left: -25px;
	}
	.carousel-arrow.right {
		right: -38px;
	}
	.arrow-container {
		right: 8%; /*36px*/
		top: 6.098%; /*15px*/
		width: 18.36%;
	}
}

@media screen and (max-width: 1000px) {
    #allegro_main {
        /*display: block;*/
    }

    #allegro_main_1,
    #allegro_main_2,
    #allegro_main_3,
    #allegro_main_4,
    #allegro_main_5,
    #allegro_main_6 {
        /*display: none;*/
    }
}

@media screen and (max-width: 768px) {
	#menu > ul > li > a {
		font-size: 12px;
	}		
	
	.carousel-caption h2 {
		font-size: 16px;
	}	
	.carousel-caption {
		font-size: 12px;
		top: 10px;
		left: 10px;
		margin-bottom: 10px;
	}
	.carousel-arrow img {
		width: 30%;
	}
	
	#menu.menu-up {
		margin-bottom: 210px;
	}
	#menu.menu-down {
        padding: 0;
	}

    #search-box {
        right: 135px;
    }

    .login-btn {
        right: 70px;
    }

}

@media screen and (max-width: 600px) {
	#menu.menu-down {
        padding: 0;
	}

    #hp-title-lg {
        left: 10px;
    }

    #title-below-menu {
        padding: 100px 20px 0;
        font-size: 14px;
        margin: 130px 0 180px 0;
    }

    #menu > ul > li:nth-of-type(2) > ul {
        left: 10px;
    }

    #menu > ul > li:nth-of-type(6) > ul {
        right: -45px;
    }

    #menu > ul > li:nth-of-type(7) > ul {
        right: 15px;
    }

    .btn-green {
        margin: 5px 0 24px 0;
        font-size: 18px;
        padding: 8px 15px;
        white-space: normal;
    }
}

@media screen and (max-width: 480px) {
	#menu > ul > li > a {
		font-size: 10px;
	}		
	
	.carousel-caption h2 {
		font-size: 14px;
	}	
	.carousel-caption {
		font-size: 10px;
		top: 5px;
		left: 5px;
		margin-bottom: 5px;
	}
	.carousel-arrow img {
		width: 20%;
	}
	
	footer {
		font-size: 10px;
	}
}

@media screen and (max-width: 420px) {
	#search-box {
		position: relative;
		top: 0;
		left: 0px;
		float: right;
	}
	header .input-group {
		margin: 0 0 10px 0;
	}

    #menu-arrow-menu {
        margin-left: -15px;
        width: 115%;
    }

    #menu > ul > li:nth-of-type(1) {
        display: none;
    }

    #menu > ul > li:last-of-type {
        display: none;
    }

    #menu > ul > li {
        width: 16%;
    }

}
