@import url("../common/menu.css") only screen and (max-width: 768px);
/* generali */
body {
	font-family: Montserrat, sans-serif;
	background-color: #162e44;
}
h1, .single h3, .home_gallery h3, .sponsor .section_header h2, #mod_about #act_view h2 {
	max-width: 1300px;
	margin: 0px auto;
	padding: 20px 1% 0px 1%;
	/*font-family: Lato;*/
	font-size: 2em;
	font-weight: 600;
	color: #162e44;
	text-align: left;
	text-transform: none;
	border: 0px;
	box-sizing: border-box;
}
.single h3, .sponsor .section_header h2 {
	padding: 0px;
}
.page .home_gallery h3, #mod_gallery #act_view h1 {
	padding-top: 0px;
	padding-bottom: 4%;
	font-weight: 500;
	text-align: center;
	text-transform: uppercase;
}
#mod_gallery #act_view h1 {
	padding-top: 2%;
	padding-bottom: 1%;
}
.sponsor .section_header h2 {
	padding-top: 0px;
	font-weight: 500;
	text-align: center;
	text-transform: uppercase;
}
h1 a, .single h3 a, .home_gallery h3 a {
	color: #162e44;
}
h1 a:hover, .single h3 a:hover, .home_gallery h3 a:hover {
	color: #162e44;
}
.home_gallery h3::before, #mod_gallery #act_view h1::before, .sponsor .section_header h2::before {
	content: "";
	margin-right: 3em;
	padding-top: 1em;
	font-size: 0.4em;
	border-left: 2px solid #28abf4;
}
.home_gallery h3::after, #mod_gallery #act_view h1::after, .sponsor .section_header h2::after {
	content: " ";
	margin-left: 3em;
	padding-top: 1em;
	font-size: 0.4em;
	border-left: 2px solid #57cbf5;
}
.container_modal h1::before {
	padding: 0px;
	border: 0px;
}
h2, h4 {
	margin: 10px 0px 10px 0px;
	padding: 0px 0px 0px 0px;
	font-size: 1.2em;
	font-weight: normal;
	color: #000000;
	text-align: left;
	text-transform: uppercase;
	border: 0px;
}
h2 a, h4 a {
	color: #000000;
}
h2 a:hover, h4 a:hover {
	color: #cc9966;
}
h3 {
	margin: 10px 0px 10px 0px;
	padding: 0px 0px 0px 0px;
	font-size: 1.2em;
	font-weight: normal;
	color: #000000;
	text-align: left;
	text-transform: uppercase;
	border: 0px;
}
h3 a {
	color: #000000;
}
h3 a:hover {
	color: #cc9966;
}
/* color */
a {
	color: #28abf4;
	text-decoration: none;
}
a:hover {
	color: #162e44;
	text-decoration: none;
}
p {
	color: #000000;
}
.mainTable p {
	color: #000000;
}
.mainTable tbody p {
	color: #333333;
}
form p {
	color: #666666;
}
legend {
	color: #000000;
}
select, textarea, input, .fm-right, #fm-other {
	color: #000000;
}
label, .fm-left {
	color: #666666;
}

/* mainTable */
.mainTable th, .mainTable th a {
	color: #000000;
}
.mainTable th a:hover {
	color: #cc9966;
}
.mainTable tr:hover {
	background-color: #b2d2e5;/*74c26d*/
}

/* messaggi */
div.info, div.warning, div.danger {
	color: #666666;
}
div.info {
	background-image: url("images/info.gif");
}
div.warning {
	background-image: url("images/warning.gif");
}
div.danger {
	background-image: url("images/alert.gif");
}

/* container */
#container, .module, .module_table {
	min-height: 100%;
	overflow: auto;
}
/* .action */
.action {
	position: relative;
	min-height: 100%;
	margin: 0px auto;
	padding: 0px 0px 0px 0px;
	border: 0px;
	overflow: auto;
}

/* header_container, header_content */
#header_container {
	z-index: 3;
	position: fixed;
	top: 0px;
	left: 0px;
	right: 0px;
	height: 95px;
	padding: 0px;
	border: 0px;
	background-color: #ffffff;
}
#header_content {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1300px;
	height: 100%;
	margin: 0px auto;
	padding: 0px 1% 0px 1%;
	border: 0px;
	box-sizing: border-box;
}
/* header */
#header {
	z-index: 99;
	width: 100%;
	height: 60%;
	margin: auto 0px;
}
#header img {
	height: 100%;
}
#header p {
	display: block;
	float: right;
	padding: 15px;
	font-size: 1.3em;
	color: #162e44;
	border: 2px solid #28abf4;
}
#header p a {
	color: #162e44;
}
#header p a:hover {
	color: #28abf4;
}
/* menubar_container, menubar_content */
#menubar_container {
	z-index: 3;
	position: fixed;
	top: 95px;
	left: 0px;
	right: 0px;
	height: 55px;
	padding: 0px;
	border: 0px;
	background-color: #162e44;
}
#menubar_content {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1300px;
	height: 100%;
	margin: 0px auto;
	padding: 0px 1% 0px 1%;
	border: 0px;
	box-sizing: border-box;
}
/* menubar */
#menubar {
	font-family: Lato;
	height: 100%;
}
#menubar ul {
	list-style-type: none;
	height: 100%;
}
#menubar li {
	display: inline-block;
	height: 100%;
}
#menubar li a {
	display: table-cell;
	height: 55px;
	margin: auto;
	padding: 0px 25px 0px 25px;
	color: #ffffff;
	font-size: 1.5em;
   font-weight: normal;
   text-transform: none;vertical-align: middle;
   border-top: 3px solid #162e44;
   border-bottom: 3px solid #162e44;
   box-sizing: border-box;
}
#menubar li a:hover, #menubar li#selected a {
	color: #ffffff;
	text-decoration: none;
	border-top: 3px solid #28abf4;
	border-bottom: 3px solid #3a5166;
	background-color: #3a5166;
}
/* buttons */
#buttons {
}
/* social, button_login, button_menu */
#social, #button_login, #button_menu {
	display: inline-block;
}
#social {
	margin-left: -10px;
}
#social span, #button_login p, #button_menu p {
	display: inline-block;
	margin: 0px 0px 0px 10px;
	padding: 0px;
	color: #000000;
	cursor: pointer;
}
#social a, #button_login span, #button_menu span {
	width: 25px;
	height: 25px;
	padding: 0px;
	color: #666666;
	display: block;
}
#social .social_facebook {
	background: url("images/facebook.png") no-repeat 0px 0px;
	background-size: contain;
}
#button_login span {
	background: url("images/button_login.svg") no-repeat 0px 0px;
	background-size: contain;
}
#button_menu span {
	background: url("images/button_menu.svg") no-repeat 0px 0px;
	background-size: contain;
}
/* tendina_login */
.tendina_login {
	top: 55px;
	max-height: calc(100vh - 150px);
}

/* carousel */
#carousel_container {
	clear: both;
	position: relative;
	width: 100%;
	margin: 150px auto 0px auto;
	padding: 0px;
	border: 0px;
}
.carousel .carousel_div, .carousel .content, .carousel .content_image,
.carousel .preview_list_in, .carousel .preview_thumb {
	height: 100%;
}
.carousel {
	clear: both;
	position: relative;
	width: 100%;
	height: 0px;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 33.33% 0px;
	text-align: center;
	border-bottom: 2px solid #162e44;
	background-color: #000000;
	overflow: hidden;
}
.carousel .carousel_div, .carousel .preview_list_in {
	display: none;
}
.carousel img {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	object-fit: cover;
	animation: pulse 8s;
}
.carousel .post_details {
	display: none;
}
.carousel h3, .carousel h4 {
	z-index: 2;
	position: absolute;
	bottom: 0px;
	left: 0px;
	right: 0px;
	margin: 0px;
	padding: 0px;
	font-family: Oswald;
	font-size: 2.2em;
	background-color: rgba(44,31,1,0.7);
	box-sizing: border-box;
}
.carousel h3 a, .carousel h4 a {
	max-width: 1300px;
	margin: 0px auto;
	padding: 5px 1% 5px 1%;
	text-align: left;
   overflow: hidden;
	box-sizing: border-box;
	display: block;
}
.carousel h3 a, .carousel h4 a {
	color: #cc9966;
}
.carousel .controls {
	z-index: 2;
	position: absolute;
	bottom: 15px;
	left: 0px;
	right: 0px;
	max-width: 1300px;
	margin: 0px auto;
	padding: 0px 1% 0px 1%;
	text-align: right;
	overflow: hidden;
	box-sizing: border-box;
	display: block;
}
.carousel .controls a {
	width: 14px;
	height: 14px;
	margin: 0px 0px 0px 7px;
	padding: 0px;
	border: 0px;
	border-radius: 7px;
	background-color: #ffffff;
	display: inline-block !important;
	vertical-align: bottom;
	cursor: pointer;
}
.carousel .controls a:hover, .carousel .controls a.selected {
	background-color: #28abf4;
}

/* stats */
#stats {
	clear: both;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	background-color: #ffffff;
	box-sizing: border-box;
}
#stats p {
	padding: 0px 0px 0px 0px;
	text-align: center;
	color: #000000;
	font-size: 1em;
}

/* footer */
#footer_container {
   clear: both;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	border: 0px;
	background-color: #162e44;
}
#footer {
   max-width: 1300px;
	margin: 0px auto;
	padding: 0px 1% 20px 1%;
	border: 0px;
	overflow: hidden;
	box-sizing: border-box;
}
#footer p {
   padding: 20px 0px 0px 0px;
	font-size: 1.3em;
	line-height: 1.5em;
   color: #ffffff;
}
#footer .p1 {
   float: left;
	text-align: left;
}
#footer .p2 {
   float: right;
	text-align: right;
}
#footer .credits {
	font-size: 0.9em;
	color: #cccccc;
}
#footer a {
	color: #ffffff;
	text-decoration: underline;
}
#footer a:hover {
	color: #cccccc;
}
#footer .credits a {
	color: #cccccc;
	text-decoration: underline;
}
#footer .credits a:hover {
	color: #999999;
}

/* main, content, page */
#main, #content {
	clear: both;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	border: 0px;
	background-color: #ffffff;
	overflow: hidden;
}
.page {
	position: relative;
	clear: both;
	max-width: 1300px;
	margin: 0px auto;
	padding: 0% 1% 2% 1%;
	text-align: left;
	font-size: 1em;
	overflow: hidden;
	overflow-x: auto;
	box-sizing: border-box;
}

/* home */
#act_main #content, #act_main .page {
	clear: none;
	max-width: none;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
}
.single, .monosci, .home_gallery, .sponsor {
	position: relative;
}
.monosci {
	background-color: #aaaaaa;
}
.sponsor {
	background-color: #eeeeee;
}
.monosci .section_header img {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(100%);
}
.sponsor .section_header {
	max-width: 1300px;
	margin: 0px auto;
	padding: 4% 1% 2% 1%;
	text-align: center;
   overflow: hidden;
	box-sizing: border-box;
}
.single .section_content, .monosci .section_content, .home_gallery .section_content, .sponsor .section_content {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	max-width: 1300px;
	margin: 0px auto;
	padding: 4% 1% 4% 1%;
	text-align: left;
   overflow: hidden;
	box-sizing: border-box;
}
.sponsor .section_content {
	padding-top: 0%;
}
.page .single .content_image {
	clear: both;
	position: relative;
	float: left;
	width: 40%;
	margin: 0px 2% 0px 0px;
	padding: 0px 0px 30% 0px;
	text-align: center;
	border: 0px;
	background-color: #dddddd;
	overflow: hidden;
}
.single .content_image img {
   position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: ease-in-out 0.3s;
}
.single .content_image img:hover {
	transform: scale(1.1, 1.1);
}
.single .entry p {
	margin: 15px 0px 0px 0px;
	padding: 0px;
	color: #666666;
	font-size: 1.3em;
	line-height: 1.3em;
}
.single .entry p a {
	display: inline-block;
	margin: 7px 15px 8px 0px;
	padding: 15px;
	color: #162e44;
	border: 2px solid #28abf4;
}
.single .entry p a:hover {
	color: #ffffff;
	background-color: #28abf4;
}
.page .monosci .entry p {
	margin: 15px 0px 0px 0px;
	padding: 0px 0px 15px 0px;
	color: #ffffff;
	font-size: 1.4em;
	line-height: 1.4em;
	text-align: center;
}
.monosci .entry p a {
	display: inline-block;
	margin: 7px 8px 8px 8px;
	padding: 15px;
	color: #ffffff;
	border: 2px solid #28abf4;
	background-color: #28abf4;
}
.monosci .entry p a:hover {
	background: none;
}
.sponsor .section_content .sponsor_div {
	width: 23%;
	margin: 0% 1% 0% 1%;
}
.sponsor .content_image img {
	width: 100%;
	transition: 0.3s ease-in-out;
}
.sponsor .sponsor_div:hover .content_image img {
	opacity: 0.8;
}

/* about */
.about_thumb {
	clear: both;
	position: relative;
	width: 100%;
	margin: 0px;
	padding: 0px 0px 33.33% 0px;
	border-bottom: 1px solid #000000;
	background-color: #000000;
	overflow: hidden;
}
.about_thumb img {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	object-fit: cover;
	animation: pulse 8s;
}
#mod_about #act_view h1 {
	display: none;
}
#mod_about #act_view h2 {
	padding: 20px 0px 0px 0px;
}
#mod_about #act_view .page {
	animation: bounceInRight 2s;
}
.about_list {
	margin: 0px;
	padding: 0px;
	border: 0px;
}
.about_list .about_p1 {
	margin: 0px;
	padding: 0px;
}
.about_list .about_p1 p {
	margin: 0px;
	padding: 10px 0px 0px 0px;
	font-size: 1.3em;
	font-weight: 300;
	color: #000000;
	line-height: 1.4em;
}

/* team - cat */
.team_cat_list {
	margin: 2% 0px -10px 0px !important;
}
.team_cat_list .mix_filters {
	list-style-type: none;
	float: left;
	width: 100%;
	text-align: left;
}
.team_cat_list .mix_filter {
	margin: 0px 8px 10px 0px;
	color: #000000;
	font-size: 1.3em;
	font-weight: 300;
	text-transform: none;
	display: inline-block;
}
.team_cat_list .mix_filter a {
	padding: 5px 12px 5px 12px;
	color: #ffffff;
	border-radius: 5px;
	background-color: #162e44;
	display: inline-block;
}
.team_cat_list .mix_filter a:hover, .team_cat_list .mixitup-control-active a {
	background-color: #28abf4;
}
.team_cat_list .mix_filter_all a, .team_cat_list .mix_filter_all a:hover, .team_cat_list .mix_filter_all.mixitup-control-active a {
	font-weight: bold;
}
/* team -view */
#mod_team #act_view h1 {
	display: none;
}
.team_list {
	display: flex;
	flex-wrap: wrap;
	margin: 0% 0px 0px -2%;
	padding: 0px;
	overflow: hidden;
}
.team_list_in {
	position: relative;
	float: left;
	width: 23%;
	margin: 2% 0px 0px 2%;
	padding: 0px;
	text-align: left;
	border: 0px;
	overflow: hidden;
}
.team_list_in .team_thumb {
	position: relative;
	height: 0px;
	margin: 0px;
	padding: 0px 0px 100% 0px;
	text-align: center;
	border: 0px;
	background-color: #000000;
	overflow: hidden;
	box-sizing: border-box;
}
.team_list_in:hover .team_thumb img {
	opacity: 0.8;
}
.team_list_in .team_thumb img {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: 0.3s ease-in-out;
}
.team_list_in h2 {
	margin: 10px 0px 0px 0px;
	padding: 0px;
	color: #000000;
	font-size: 1.5em;
	font-weight: bold;
	text-align: left;
	text-transform: none;
	transition: 0.3s ease-in-out;
}
.team_list_in h2 a {
	color: #000000;
	display: block;
}
.team_list_in:hover h2, .team_list_in:hover h2 a {
	color: #000000;
}
.team_list .team_p1 {
	margin: 0px;
	padding: 0px;
}
.team_list .team_p1 p {
	margin: 0px;
	padding: 5px 0px 0px 0px;
	font-size: 1.25em;
	font-weight: 300;
	color: #000000;
	line-height: 1.3em;
}
.team_list .team_p1 p.team_role {
	color: #28abf4;
}
.team_list .team_p1 p img {
	width: 100%;
	margin-top: 5px;
}

/* pages */
.pages_thumb {
	clear: both;
	position: relative;
	width: 100%;
	margin: 0px;
	padding: 0px 0px 33.33% 0px;
	border-bottom: 1px solid #000000;
	background-color: #000000;
	overflow: hidden;
}
.pages_thumb img {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	object-fit: cover;
	animation: pulse 8s;
}
#mod_pages #act_zoom h1, #mod_pages #act_zoom .page {
	animation: bounceInRight 2s;
}
.pages_details {
	margin: 0px;
	padding: 0px;
	border: 0px;
}
.pages_details .pages_text {
	margin: 0px;
	padding: 0px;
}
.pages_details .pages_text p {
	margin: 0px;
	padding: 10px 0px 0px 0px;
	font-size: 1.3em;
	font-weight: 300;
	color: #000000;
	line-height: 1.4em;
}
.pages_details .pages_text p img {
	width: 100%;
	margin-top: 5px;
}

/* gallery - albums */
#mod_gallery #act_view #albums_view h1 {
	display: none;
}
.gallery_alb_list, .home_gallery .preview {
	display: flex;
	flex-wrap: wrap;
	margin: -1% 0px 0px -1%;
	padding: 0px;
	overflow: hidden;
}
.gallery_alb_list {
	margin-top: 2%;
}
.gallery_alb_list_in, .home_gallery .preview_list_in {
	position: relative;
	float: left;
	width: 24%;
	margin: 1% 0px 0px 1%;
	padding: 0px;
	text-align: left;
	border: 0px;
	overflow: hidden;
}
.gallery_alb_list_in .gallery_thumb, .home_gallery .preview_list_in .preview_thumb {
	position: relative;
	height: 0px;
	margin: 0px;
	padding: 0px 0px 100% 0px;
	text-align: center;
	border: 0px;
	background-color: #000000;
	overflow: hidden;
	box-sizing: border-box;
}
.gallery_alb_list_in:hover .gallery_thumb img, .home_gallery .preview_list_in:hover .preview_thumb img {
	opacity: 0.8;
}
.gallery_alb_list_in .gallery_thumb img, .home_gallery .preview_list_in .preview_thumb img {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: 0.3s ease-in-out;
}
.gallery_alb_list_in h2, .home_gallery .preview_list_in h4 {
	margin: 5px 0px 0px 0px;
	padding: 0px;
	color: #666666;
	font-size: 1.5em;
	font-weight: 400;
	text-align: left;
	text-transform: none;
	transition: 0.3s ease-in-out;
}
.gallery_alb_list_in h2 a, .home_gallery .preview_list_in h4 a {
	color: #666666;
	display: block;
}
.gallery_alb_list_in:hover h2, .gallery_alb_list_in:hover h2 a, .home_gallery .preview_list_in:hover h4, .home_gallery .preview_list_in:hover h4 a {
	color: #28abf4;
}
.gallery_alb_list_in::after {
	position: absolute;
	z-index: 2;
	top: 5px;
	right: 5px;
	color: #ffffff;
	font-size: 2em;
	font-family: FontAwesome;
	content: "\f24d";
	transition: 0.3s ease-in-out;
}
/* gallery - album */
#mod_gallery #tab_immagini #act_view #albums_zoom .gallery_desc_list_in, #mod_gallery #tab_immagini #act_view #albums_zoom .gallery_list {
	margin: 0px 0px 0px -1%;
	padding: 0px;
}
#mod_gallery #tab_immagini #act_view #albums_zoom h1 {
	animation: bounceInRight 1.5s;
}
.gallery_desc_image {
	animation: bounceInLeft 1.2s;
}
.gallery_desc_image, .gallery_list_in {
	position: relative;
	float: left;
	height: 0px;
	margin: 1% 0px 0px 1%;
	padding: 0px;
	text-align: center;
	border: 0px;
	overflow: hidden;
	background-color: #000000;
}
.gallery_list_in:nth-of-type(12n + 1), .gallery_list_in:nth-of-type(12n + 2), .gallery_list_in:nth-of-type(12n + 3), .gallery_list_in:nth-of-type(12n + 4),
.gallery_list_in:nth-of-type(12n + 5), .gallery_list_in:nth-of-type(12n + 6), .gallery_list_in:nth-of-type(12n + 7), .gallery_list_in:nth-of-type(12n + 8),
.gallery_list_in:nth-of-type(12n + 9), .gallery_list_in:nth-of-type(12n + 10), .gallery_list_in:nth-of-type(12n + 11), .gallery_list_in:nth-of-type(12n + 12) {
	width: 19%;
	padding-bottom: 26%;
}
.gallery_desc_image, .gallery_list_in:nth-of-type(12n + 7), .gallery_list_in:nth-of-type(12n + 9), .gallery_list_in:nth-of-type(12n + 12) {
	width: 39%;
	padding-bottom: 26%;
}
.gallery_desc_image:hover img, .gallery_list_in:hover img {
	opacity: 0.8;
}
.gallery_desc_image img, .gallery_list_in img {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: 0.3s ease-in-out;
}
.gallery_desc_image .video_wrapper {
	margin: 0px;
	padding-bottom: 66.67%;
}

/* contact - documenti */
#mod_contact #tab_documenti #act_zoom h1 {
	animation: bounceInRight 2s;
}
#mod_contact #tab_documenti #act_zoom .page {
	animation: bounceInRight 2s;
}
.contact_details {
	margin: 0px 0px 0px 0px;
}
.contact_details p {
	padding: 10px 0px 0px 0px;
	font-size: 1.3em;
}
/* contact - forms */
.contact_iframe_wrapper {
	clear: both;
	position: relative;
	width: 100%;
	margin: 0px;
	padding: 0px 0px 33.33% 0px;
	border-bottom: 1px solid #000000;
	background-color: #e5e3df;
	overflow: hidden;
}
.contact_iframe {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
}
#mod_contact #tab_richieste #act_ins h1, #mod_contact #tab_richieste #act_ins_do h1 {
	padding-top: 20px;
}
#mod_contact #tab_richieste #act_ins h1, #mod_contact #tab_richieste #act_ins .page {
	animation: bounceInRight 2s;
}
.contact_p1 {
	padding: 10px 0px 10px 0px;
}
.contact_p1 p {
	padding: 10px 0px 0px 0px;
	font-size: 1.3em;
}
#mod_contact #tab_richieste #act_ins .smallform, #mod_contact #tab_richieste #act_ins_do .smallform {
	padding: 0px;
}

/* dispositivi mobili */
@media only screen and (max-width: 900px) {
	/* gallery */
	.gallery_list_in:nth-of-type(12n + 1), .gallery_list_in:nth-of-type(12n + 2), .gallery_list_in:nth-of-type(12n + 3), .gallery_list_in:nth-of-type(12n + 4),
	.gallery_list_in:nth-of-type(12n + 5), .gallery_list_in:nth-of-type(12n + 6), .gallery_list_in:nth-of-type(12n + 7), .gallery_list_in:nth-of-type(12n + 8),
	.gallery_list_in:nth-of-type(12n + 9), .gallery_list_in:nth-of-type(12n + 10), .gallery_list_in:nth-of-type(12n + 11), .gallery_list_in:nth-of-type(12n + 12) {
		width: 24%;
		padding-bottom: 32.84%;
	}
	.gallery_desc_image, .gallery_list_in:nth-of-type(12n + 5), .gallery_list_in:nth-of-type(12n + 7), .gallery_list_in:nth-of-type(12n + 11), .gallery_list_in:nth-of-type(12n + 12) {
		width: 49%;
		padding-bottom: 32.84%;
	}
}
@media only screen and (max-width: 768px) {
	/* padding */
	h1, #header_content, #menubar_container, .carousel .entry, .carousel h3 a, .carousel h4 a, .carousel .controls, #footer, .page, .single .section_content, .monosci .section_content, .home_gallery .section_content {
		padding-right: 3%;
		padding-left: 3%;
	}
	/* header */
	#header_container {
		height: 50px;
		border-bottom: 2px solid #162e44;
	}
	#header {
		height: 70%;
	}
	#header p {
		display: none;
	}
	/* menubar */
	#menubar_container {
		top: 0px;
		left: auto;
		right: 0px;
		height: 50px;
		border-bottom: 2px solid #162e44;
		/*background: none;*/
	}
	#menubar_content {
		max-width: none;
		padding: 0px;
	}
	#menubar {
		top: 52px;
		max-height: calc(100% - 50px);
	}
	#menubar li a:hover, #menubar li#selected a {
		color: #28abf4 !important;
	}
	/* tendina_login */
	.tendina_login {
		top: 52px;
		max-height: calc(100vh - 50px);
	}
	/* carousel */
	#carousel_container {
		margin-top: 52px;
	}
	/*.carousel h3, .carousel h4 {
		font-size: 1.8em;
	}
	.carousel .controls {
		bottom: 12px;
	}*/
	/* footer */
	#footer .p1, #footer .p2 {
		clear: both;
		float: none;
		text-align: left;
	}
	/* home */
	.single .content_image {
		display: none;
	}
	.sponsor .section_content .sponsor_div {
		width: 30.33%;
		margin: 0% 1.5% 0% 1.5%;
	}
	/* team */
	.team_list_in {
		width: 31.33%;
	}
	/* gallery */
	.gallery_alb_list_in, .home_gallery .preview_list_in {
		width: 32.33%;
	}
	.gallery_list_in:nth-of-type(12n + 1), .gallery_list_in:nth-of-type(12n + 2), .gallery_list_in:nth-of-type(12n + 3), .gallery_list_in:nth-of-type(12n + 4),
	.gallery_list_in:nth-of-type(12n + 5), .gallery_list_in:nth-of-type(12n + 6), .gallery_list_in:nth-of-type(12n + 7), .gallery_list_in:nth-of-type(12n + 8),
	.gallery_list_in:nth-of-type(12n + 9), .gallery_list_in:nth-of-type(12n + 10), .gallery_list_in:nth-of-type(12n + 11), .gallery_list_in:nth-of-type(12n + 12) {
		width: 32.33%;
		padding-bottom: 44.24%;
	}
	.gallery_desc_image, .gallery_list_in:nth-of-type(12n + 6), .gallery_list_in:nth-of-type(12n + 7), .gallery_list_in:nth-of-type(12n + 12) {
		width: 65.66%;
		padding-bottom: 44.24%;
	}
}
@media only screen and (max-width: 480px) {
	/* carousel */
	.carousel {
		padding-bottom: 50%;
	}
	/*.carousel h3, .carousel h4 {
		font-size: 1.5em;
	}
	.carousel .controls {
		bottom: 10px;
	}*/
	/* home */
	.sponsor .section_content .sponsor_div {
		width: 47%;
		margin: 0% 1.5% 0% 1.5%;
	}
	/* about */
	.about_thumb {
		padding-bottom: 50%;
	}
	/* team */
	.team_list_in {
		width: 48%;
	}
	/* pages */
	.pages_thumb {
		padding-bottom: 50%;
	}
	/* gallery */
	.gallery_alb_list_in, .home_gallery .preview_list_in {
		width: 49%;
	}
	.gallery_list_in:nth-of-type(12n + 1), .gallery_list_in:nth-of-type(12n + 2), .gallery_list_in:nth-of-type(12n + 3), .gallery_list_in:nth-of-type(12n + 4),
	.gallery_list_in:nth-of-type(12n + 5), .gallery_list_in:nth-of-type(12n + 6), .gallery_list_in:nth-of-type(12n + 7), .gallery_list_in:nth-of-type(12n + 8),
	.gallery_list_in:nth-of-type(12n + 9), .gallery_list_in:nth-of-type(12n + 10), .gallery_list_in:nth-of-type(12n + 11), .gallery_list_in:nth-of-type(12n + 12) {
		width: 49%;
		padding-bottom: 67.05%;
	}
	.gallery_desc_image, .gallery_list_in:nth-of-type(3n) {
		width: 99%;
		padding-bottom: 67.05%;
	}
	/* contact */
	.contact_iframe_wrapper {
		padding-bottom: 50%;
	}
}
