@charset "ISO-8859-1";
body {
    color: #000000;
    font: 12px "Times New Roman",verdana,arial,helvetica,sans-serif;
    margin: 0;
}
p {
    font: 12px "Times New Roman",verdana,arial,helvetica;
    margin-top: 0;
    text-align: left;
}
a:link {
    color: #63687d;
    padding: 0 2px;
    text-decoration: none;
}
a:hover, a:active {
    color: #c4c2b8;
    padding: 0 2px;
    text-decoration: none;
}
a:visited {
    color: #63687d;
    padding: 0 2px;
    text-decoration: none;
}
img {
    border: 2px solid #010D41;
    padding: 3px;
}
img.gallery {
    border: 1px solid #010D41;
    padding: 3px;
}
a img {
    border: medium none;
	padding: 0px;
}
#container {
    background: none repeat scroll 0 0 #FFFFFF;
    margin: 0 auto;
    width: 960px;
}
#container p {
    color: #010D41;
    font: 14px/15pt "Times New Roman",verdana,arial,helvetica,sans-serif;
}
#header {
    background: url("materassi-life-caltanissetta-home/materassi-caltanissetta-top.jpg") no-repeat scroll center center transparent;
    height: 189px;
    margin-left: 0;
    margin-top: 0;
}
#menu {
	text-align: center;
	font-size: 20px;
	font-weight:bold;
}
#menu ul {
	margin-top: -140px;
	margin-left: 160px;
	margin-right: auto;
	position:absolute;
}
#menu ul.selected {
	margin-top: -165px;
	margin-left: 160px;
	margin-right: auto;
	position:absolute;
}
#menu ul li.not_selected {
    display: inline-block;
	margin: 20px;
	vertical-align: middle;
}
* menu ul li.not_selected {display: inline}
*+menu ul li.not_selected{display:inline}
#menu ul li span {
	display:block;
}
#menu ul li a span {
	display:block;
}
#selected {
	display: inline-block;
	margin: 20px;
	vertical-align: 25px;
	color: #c4c2b8;
}
* selected {display: inline}
*+selected{display:inline}
#selectedFirst {
	display: inline-block;
	margin-left: 25px;
	margin-right: 20px;
	vertical-align: 25px;
	color: #c4c2b8;
}
* selectedFirst {display: inline}
*+selectedFirst{display:inline}
#page_content {
    margin-left: 30px;
	margin-right: 30px;
    margin-top: 0;
    padding: 0 14px;
    width: 600px;
}
#page_content p {
    text-align: justify;
}
#page_content p.style_center  {
    text-align: center;
}
#page_content h1 {
    color: #010d41;
    font-family: "Times New Roman",Times,serif;
    font-size: 28px;
    font-weight: lighter;
    padding-bottom: 8px;
    text-align: left;
}
#page_content h2 {
    color: #010d41;
    font-size: 18px;
    padding-bottom: 4px;
    text-align: left;
}
#page_content h3 {
    color: #010d41;
    font-family: "Times New Roman",Times,serif;
    font-size: 20px;
    font-weight: lighter;
    padding-bottom: 4px;
    text-align: left;
}
#page_content h4 {
    color: #63687d;
	font-family: "Times New Roman",Times,serif;
    font-size: 16px;
    padding-bottom: 4px;
    text-align: justify;
}
#page_content h5 {
    color: gray;
	font-family: "Times New Roman",Times,serif;
    font-size: 13px;
    padding-bottom: 4px;
    text-align: left;
}
#page_content h6 {
    color: gray;
	font-family: "Times New Roman",Times,serif;
    font-size: 13px;
    padding-bottom: 4px;
    text-align: left;
}
#page_content ul {
    line-height: 25pt;
    margin: 0;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-top: 0;
}
#page_content li {
    color: #010D41;
    font: 14px/15pt "Times New Roman",verdana,arial,helvetica,sans-serif;
    margin: 0;
    padding-bottom: 10px;
    padding-left: 8px;
    padding-top: 0;
    text-align: justify;
}
#left_col {
    margin-left: 720px;
    position: absolute;
    top: 210px;
    width: 240px;
}

object {
    width: 600px;
	height: 350px;
	margin: 0;
	border: 0;
}

#footer {
	background: none repeat scroll 0 0 #010d41;
    color: #9F927F;
    font: 12px "Times New Roman",Verdana,Geneva,Tahoma,sans-serif;
    height: 80px;
    padding-bottom: 1px;
    padding-top: 1px;
    text-align: center;
    width: 960px;
}
#footer p {
	color: #c4c2b8;
    font: 12px "Times New Roman",Verdana,Geneva,Tahoma,sans-serif;
    text-align: center;
}
#footer a:link, #footer a:visited {
    font-size: 12px;
    margin-right: 5px;
}
.blog_panel {
	background-color: #e1e1e1;
    border: 1px solid #010d41;
    padding: 5px;
    width: 228px;
}
.news {
    color: #010D41;
    font-size: 16px;
	font-weight:bold;
    text-align: center;
}
.news_title {
    color: #AB1D21;
    font-size: 16px;
	font-weight:bold;
}
.news_body {
	border-top: 1px solid #CCCCCC;
    padding-top: 8px;
    text-align: left;
}
.news_date {
    color: #c4c2b8;
    font: 10px "Times New Roman",Verdana,Geneva,Tahoma,sans-serif;
}
.news_text {
    color: #010D41;
    font: 14px "Times New Roman",Verdana,Geneva,Tahoma,sans-serif;
}
.news_link {
	text-align: right;
}
.gray_news {
    color: #c4c2b8;
    font: 12px "Times New Roman",Verdana,Geneva,Tahoma,sans-serif;
}
#blogPage {
	min-height: 380px;
    padding: 3px;
    width: 200px;
}
#body_news {
	overflow: hidden;
}
.modal-body img {
    max-width: 100%;
    height: auto;
}
.modal-body p {
    text-align: center;
    font-family: sans-serif;
    font-size: 2em;
}
.fade.in {
    background: rgba(113,159,65,0.7);
    font-family: sans-serif !important;
    line-height: 1.15;
    font-size: 2em !important;
}
.fade.in a {
    color: #719f41;
}
.fade.in a:hover {
    color: turquoise;
}
.modal {
    text-align: center;
}
.close {
    background-color: turquoise !important;
    color: white;
    font-size: 24px;
    padding: 8px 12px !important;
    position: absolute;
    right: 0;
    text-align: center;
    text-decoration: none;
    top: 0;
    z-index: 1;
    margin-top: unset !important;;
    opacity: unset;
}
.close:hover {
    color: #fff;
}
.btn-default {
    color: #fff;
    background-color: turquoise;
    border-color: unset;
}
.btn-default:hover {
    opacity: .5;
    color: #fff;
    background-color: turquoise;
    border-color: unset;
}
.modal-title {
    font-family: sans-serif;
    font-weight: bold;
}
.modal-dialog {
    height: 100%;
}
.modal-content {
    position: relative;
    top: 30%;
    transform: translateY(-50%); /* or try 50% */
}
.modal-header {
    border-bottom: 1px solid turquoise;
}
.modal-footer {
    border-top: 1px solid turquoise;
}