/* ---------------------------------------
	Standard styles formatting
	created with Template Creator
        on http://www.template-creator.com
-----------------------------------------*/


html {
  height: 101%;
}

body {
  margin: 0;
  padding: 0;
}

* {
    padding: 0;
    margin: 0;
}

div {
	min-height: 1px;
}

.clr {
	clear : both;
}

.column.column2 {
    width: 0%;
}

.column.center {
    width: 100%;
}

.noright .column.center {
    width: 100%;
}

.flexiblemodule, .column, .logobloc, .flexiblecolumn {
    float: left;
}

/* for equalheights */
.equalheights > .inner > .clr {
	display: none;
}

.equalheights > .inner,
.equalheights .maincenter > .inner {
	display: flex;
}

.equalheights .flexiblemodule,
.equalheights .column {
	display: flex;
}

.equalheights .flexiblemodule > .inner,
.equalheights .column > .inner {
	max-width:100%;
	width: 100%;
	box-sizing: border-box;
}

.videobackground { 
	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	z-index: -1;
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
	/*background: url(polina.jpg) no-repeat;*/
	background-size: cover; 
}

.hasvideobackground {
	position: relative;
	overflow: hidden;
}

/* ---------------------------------------
	Custom styling
-----------------------------------------*/

.container, .container-fluid {
	margin: 0 auto;
}

body {
	background: #eeebe3;
	background: rgba(238,235,227,1);
	-pie-background: rgba(238,235,227,1);
	color: #363636;
	text-align: left;
	line-height: 18px;
	font-size: 16px;
	font-family: caviar_dreamsregular;
}

a {
	color: #d7391f;
}


a:hover {
	color: #000000;
}

h1, div.componentheading {
	color: #2d7148;
	margin-bottom: 20px;
	font-size: 24px;
	font-family: caviar_dreamsbold;
}

h2, div.contentheading {
	color: #2d7148;
	margin-top: 25px;
	font-size: 20px;
	font-family: caviar_dreamsbold;
}

h3 {
	color: #2d7148;
	margin-top: 20px;
	font-size: 18px;
	font-family: caviar_dreamsbold;
}

h4 {
	color: #2d7148;
	margin-top: 15px;
	font-family: caviar_dreamsbold;
}

h5 {
	color: #2d7148;
	font-family: caviar_dreamsbold;
}

h6 {
	color: #2d7148;
	font-family: caviar_dreamsbold;
}

.button, button, button.btn, input.btn, :not(.btn-group) > .btn, .btn-group > .btn.active {
    border: none;
	color: #ffffff;
	padding: 5px;
	text-align: center;
	font-weight: bold;
}

.invalid {border: red;}
                
input.inputbox, .registration input, .login input, .contact input, .contact textarea,  select,
textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
    border: none;
	height: auto;
	border: #bebebe 1px solid;
	color: #bebebe;
	padding: 4px;
	text-align: left;
}

input:focus, input.inputbox:focus, .registration input:focus, .login input:focus, .contact input:focus, .contact textarea:focus,  select:focus,
textarea:focus, input[type="text"]:focus, input[type="password"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, input[type="number"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="color"]:focus, .uneditable-input:focus {
	border: #000000 1px solid;
}
/* ---------------------------------------
	Table styling
-----------------------------------------*/

table tbody tr:hover > td,
table tbody tr:hover > th {
	background-color: #efd9b6;
}

table {
  max-width: 100%;
  background-color: transparent;
  border-collapse: collapse;
  border-spacing: 0;
}
table {
  width: 100%;
  margin-bottom: 20px;
}
table th,
table td {
  padding: 8px;
  line-height: 20px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid #2d7148;
}
table th {
  font-weight: bold;
}
table thead th {
  vertical-align: bottom;
}
table caption + thead tr:first-child th,
table caption + thead tr:first-child td,
table colgroup + thead tr:first-child th,
table colgroup + thead tr:first-child td,
table thead:first-child tr:first-child th,
table thead:first-child tr:first-child td {
  border-top: 0;
}
table tbody + tbody {
  border-top: 1px solid #2d7148;
}
table table {
  background-color: #ffffff;
}


#topmenu > div.inner {
	color: 2D7148;
	font-family: caviar_dreamsbold;
}

#module2 > div.inner {
	background:  url(../images/Duomo_Galleria_1920x870.jpg) center center no-repeat scroll;
	background-size: cover;
}
#coppia1 .n1 > .flexiblemodule { width: 100%; }
#coppia1 .n2 > .flexiblemodule { width: 50%; }
#coppia1 .n2 > .flexiblemodule + div { width: 50%; }

#coppia1 > div.inner {
	margin-top: 30px;
	box-shadow: rgba(227,227,225,0.2) 5px 5px 10px 10px;
	-moz-box-shadow: rgba(227,227,225,0.2) 5px 5px 10px 10px;
	-webkit-box-shadow: rgba(227,227,225,0.2) 5px 5px 10px 10px;
}

#coppia1s > div.inner {
	border: #2d7148 1px solid;
	-moz-border-radius: 8px;
	-o-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
	-moz-border-radius: 8px 8px 8px 8px;
	-o-border-radius: 8px 8px 8px 8px;
	-webkit-border-radius: 8px 8px 8px 8px;
	border-radius: 8px 8px 8px 8px;
	margin-right: 15px;
	margin-left: auto;
	padding: 20px;
	box-shadow: rgba(204,204,200,0.6) 3px 3px 3px 3px;
	-moz-box-shadow: rgba(204,204,200,0.6) 3px 3px 3px 3px;
	-webkit-box-shadow: rgba(204,204,200,0.6) 3px 3px 3px 3px;
	max-width: 450px;
}

#coppia1d {
	width: 450px;
}

#coppia1d > div.inner {
	margin-left: 15px;
	max-width: 490px;
}
#coppia2 .n1 > .flexiblemodule { width: 100%; }
#coppia2 .n2 > .flexiblemodule { width: 50%; }
#coppia2 .n2 > .flexiblemodule + div { width: 50%; }

#coppia2 > div.inner {
	margin-top: 30px;
	box-shadow: rgba(227,227,225,0.2) 5px 5px 10px 10px;
	-moz-box-shadow: rgba(227,227,225,0.2) 5px 5px 10px 10px;
	-webkit-box-shadow: rgba(227,227,225,0.2) 5px 5px 10px 10px;
}

#coppia2s {
	width: 490px;
}

#coppia2s > div.inner {
	margin-right: 15px;
	margin-left: auto;
	max-width: 490px;
}

#coppia2d {
	width: 450px;
}

#coppia2d > div.inner {
	border: #2d7148 1px solid;
	-moz-border-radius: 8px;
	-o-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
	-moz-border-radius: 8px 8px 8px 8px;
	-o-border-radius: 8px 8px 8px 8px;
	-webkit-border-radius: 8px 8px 8px 8px;
	border-radius: 8px 8px 8px 8px;
	margin-left: 15px;
	padding: 20px;
	box-shadow: rgba(204,204,200,0.6) 3px 3px 3px 3px;
	-moz-box-shadow: rgba(204,204,200,0.6) 3px 3px 3px 3px;
	-webkit-box-shadow: rgba(204,204,200,0.6) 3px 3px 3px 3px;
	max-width: 450px;
}
#coppia3 .n1 > .flexiblemodule { width: 100%; }
#coppia3 .n2 > .flexiblemodule { width: 50%; }
#coppia3 .n2 > .flexiblemodule + div { width: 50%; }

#coppia3 > div.inner {
	margin-top: 30px;
	box-shadow: rgba(227,227,225,0.2) 5px 5px 10px 10px;
	-moz-box-shadow: rgba(227,227,225,0.2) 5px 5px 10px 10px;
	-webkit-box-shadow: rgba(227,227,225,0.2) 5px 5px 10px 10px;
}

#coppia3s > div.inner {
	border: #2d7148 1px solid;
	-moz-border-radius: 8px;
	-o-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
	-moz-border-radius: 8px 8px 8px 8px;
	-o-border-radius: 8px 8px 8px 8px;
	-webkit-border-radius: 8px 8px 8px 8px;
	border-radius: 8px 8px 8px 8px;
	margin-right: 15px;
	margin-left: auto;
	padding: 20px;
	box-shadow: rgba(204,204,200,0.6) 3px 3px 3px 3px;
	-moz-box-shadow: rgba(204,204,200,0.6) 3px 3px 3px 3px;
	-webkit-box-shadow: rgba(204,204,200,0.6) 3px 3px 3px 3px;
	max-width: 450px;
}

#coppia3d {
	width: 450px;
}

#coppia3d > div.inner {
	margin-left: 15px;
	max-width: 490px;
}

#maincontent > div.inner {
	margin-top: 30px;
	margin-right: auto;
	margin-left: auto;
	padding-right: 15px;
	padding-left: 15px;
	max-width: 960px;
}

#center > div.inner {
	padding: 10px;
}
#modules2 .n1 > .flexiblemodule { width: 100%; }
#modules2 .n2 > .flexiblemodule { width: 50%; }
#modules2 .n2 > .flexiblemodule + div { width: 50%; }
#modules2 .n3 > .flexiblemodule { width: 15%; }
#modules2 .n3 > .flexiblemodule + div { width: 70%; }
#modules2 .n3 > .flexiblemodule + div + div { width: 15%; }

#modules2 > div.inner {
	background: #000000;
	background: rgba(0,0,0,0.1);
	-pie-background: rgba(0,0,0,0.1);
	margin: 10px;
	padding: 10px;
}

#modules2mod2 > div.inner {
	margin-top: 15px;
	text-align: center;
}

#footer > div.inner {
	background: #000000;
	background: rgba(0,0,0,0.1);
	-pie-background: rgba(0,0,0,0.1);
	margin: 10px;
	padding: 5px;
	text-align: center;
}
