/* ================================
Imports
================================= */
@import url('../fontawesome/css/all.min.css');
@import url('simpletextrotator.css');
@import url('overwrite.css');
@import url('animate.css');
@import url('bootstrap.min.css');

/* ================================
General
================================= */

body{
	text-align: justify;
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	line-height: 1.6em;
}

h1 {
	font-size: 36px;
}
h2 {
	font-size: 32px;text-align: center;
}
h3 {
	font-size: 2rem;
}
h4 {
	font-size: 24px;
}
h5 {
	font-size: 20px;
}
h6 {
	font-size: 18px;
}

h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{
	color: #3a3a3a;
	font-weight: 700;
	margin-bottom: 20px;
	font-family: 'Montserrat', sans-serif;
}


.lead{
	font-weight: 400;
}

button {
	display: inline-block;
	margin-bottom: 0;
	margin-bottom: 10px;
	padding: 6px 12px;
	border: 1px solid transparent;
	vertical-align: middle;
	text-align: center;
	white-space: nowrap;
	font-weight: normal;
	font-size: 14px;
	line-height: 1.428571429;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
}
button.navbar-toggle {
	background: #2b2b2b;
	border: none;
	color: #666;
}

.btn-theme,.btn-theme:hover,.btn-theme:focus{
	color: #fff;
}
.btn-theme:hover{
	background: transparent !important;
	border-color: #999;
	color: #555;
}


/* ================================
margin, padding
================================= */
.mar-top0 {
	margin-top: 0;
}
.mar-top10 {
	margin-top: 10px;
}
.mar-top20 {
	margin-top: 20px;
}
.mar-top30 {
	margin-top: 30px;
}
.mar-top40 {
	margin-top: 40px;
}
.mx-auto {margin: 0 auto;}
.px-0{padding-left: 0 !important; padding-right:  0 !important;}
/* Back to top button */
.back-to-top {
  position: fixed;
  display: none;
  padding: 6px 12px 9px 12px;
  font-size: 16px;
  border-radius: 2px;
  right: 15px;
  bottom: 15px;
  transition: background 0.5s;
  z-index:1000;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 15px;
  }
}

.back-to-top:focus {
  outline: none;
}

/* ================================
Navbar
================================= */
.navbar-brand {padding: 0;}
/*.navbar-brand img{width: 105px;}*/
nav.navbar{
	position: fixed;
	top: 0;
	margin-bottom: 0px;
	padding: 10px 0px 10px 0px;
	width: 100%;
	border-radius: 0px;
	transition: all 0.2s;
        height: 97px;
        background: rgba(31, 31, 31, 0.74);
}

.navbar-nav .fas{color: #0094CC;}
.navbar-nav{
	float: right;margin-top: 38px;
}

nav.navbar.fixed-to-top{
	top: 0px;
}

.navbar-default{
	border: none;
	border-bottom: none;
	opacity: 1;
	display: block;
	z-index: 999;
}

.navbar-default .navbar-nav>li>a {
	color: #fff;
	font-weight: 700;
	text-transform: uppercase;
}

.navbar-nav.current,.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus{
	color: #0094CC;
	cursor: pointer;
	-webkit-transition: all 300ms ease-in-out;
	-moz-transition: all 300ms ease-in-out;
	-ms-transition: all 300ms ease-in-out;
	-o-transition: all 300ms ease-in-out;
	transition: all 300ms ease-in-out;
	outline: 0;
}

/* brand / logo */
.navbar-default .navbar-brand{
	color: #555;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 2em;
}

/* ================================
Home sections
================================= */

.home-section {
	width: 100%;
	padding: 60px 0px;
}

/* --- heading --- */
.section-heading {
	margin-bottom: 50px;
}

.section-heading h2 {
	font-size: 38px;
	text-transform: uppercase;
}

.section-heading .heading-line {
	margin:0 auto;
	display: block;
	height: 1px;
	width: 80px;
	background: #0094CC;
	margin-top: 10px;
	margin-bottom: 20px;
}

/* ==========================================================================
   Video Background
   ========================================================================== */
#video-area {
  overflow: hidden;
  position: relative;
}
#video-area .contents {
  padding: 9px 0;
}
#video-area .contents h1 {
  color: #fff;
  font-size: 50px;
  font-weight: 600;
  margin-bottom: 7px;
  line-height: 70px;
  text-transform: uppercase;
}
#video-area .contents p {
  font-size: 23px;
  color: #fff;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: 0.5px;
}
#video-area .contents .btn {
  margin: 20px 10px;
  text-transform: uppercase;
}
#video-area .banner_bottom_btn {
  margin-top: 40px;
}
#video-area .banner_bottom_btn i {
  color: #fff;
  font-size: 48px;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
}
#video-area .banner_bottom_btn i:hover {
  color: #4676fa;
}
.overlay-2 {
  background: rgba(0, 0, 0, 0.5) !important;
}
.text-main{margin-top: 29%;background: rgba(0, 148, 204, 0.3) !important}
/* ==========================================================================
   Video promo Style
   ========================================================================== */
.video-promo {
  background: url(../img/bg_2.jpg) fixed;
  background-size: cover;
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
}
.video-promo .video-promo-content {
  color: #fff;
}
.video-promo .video-promo-content h2 {
  color: #fff;
  font-size: 40px;
  text-transform: uppercase;
  font-weight: bold;
}
.video-promo .video-promo-content p {
  margin-bottom: 30px;
  margin-top: 30px;
  font-size: 24px;
  line-height: 1.3;
}
.video-promo .video-promo-content .video-popup {
  min-width: 120px;
  border: 2px solid #fff;
  border-radius: 10px;
  padding: 20px;
  color: #fff;
  display: inline-block;
  font-size: 38px;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
.video-promo .video-promo-content .video-popup:hover {
  background: #4676fa;
  border-color: #4676fa;
  color: #fff;
}
.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  background: #554343;
  opacity: 0.7;
}
.shot-item .overlay{opacity: 1;}


/* --- section bg var --- */

.bg-white {
	background: #fff;
}

.bg-gray {
	background: #f8f8f8;
}

.bg-dark {
	/*background: #575757;*/
	/*background: #000;*/
        background-image: url(../img/contact-bg.jpg);
        background-size: cover;
        background-repeat: no-repeat;
}


/* --- section content general color --- */

.color-light h1,.color-light h2,.color-light h3,.color-light h4,.color-light h5,.color-light h6 {
	color: #fff;
}


.color-light p {
	color: #eee;
}


/* ==========================
Parallax
============================= */

#parallax{
	background-image: url(../img/parallax/sviluppo-software-personalizzato-sir-italia.jpg);background-size: cover; background-repeat: no-repeat;
        
}
#parallax1{
	background-image: url(../img/parallax/servizi-informatici-sir-italia.jpg);background-size: cover; background-repeat: no-repeat;
        
}
#parallax2{
	background-image: url(../img/parallax/contatti-sir-italia.jpg);background-size: cover; background-repeat: no-repeat;
}
#parallax3{
	background-image: url(../img/parallax/web-design-sir-italia.jpg);background-size: cover; background-repeat: no-repeat;
}

.home-section.parallax {padding: 200px 0;}

/* ================================
Intro
================================= */

#intro {
	position: relative;
	margin: 0 auto;
	width: 100%;
	overflow-x: hidden;
	height:100vh;
	z-index:2;
	background-size:cover;

}

.intro-text {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
	z-index:999;
}

.intro-text h1 {
	color:#fff;
	text-align:center;
	font-weight: 700;
	font-size: 40px;
	line-height:1.1em;
	padding-top:30px;
	text-transform: uppercase;

}

.line-spacer {
	width: 20%;
	margin:0 auto;
	margin-top: 20px;
	margin-bottom: 25px;
	border-bottom:1px solid #fff;
}

.intro-text p span {
	color:#fff;
	font-size: 24px;
	text-align:center;
	font-weight: 300;
}

/* ================================
prodotti/chi siamo
================================= */

#chi-siamo .about-img,
#prodotti .about-img {
  height: 350px;
  overflow: hidden;
}

#chi-siamo .about-img img,
#prodotti .about-img img {
  margin-left: -15px;
  max-width: 100%;
}

@media (max-width: 768px) {
    .text-main {background: rgba(0, 148, 204, 0.6) !important;}
    #video-area .contents h1{font-size: 1.8rem; line-height: 1.5;}
    #video-area .contents p{font-size: 1.4rem; line-height: 1.6;}
    .navbar-toggle{margin-top: 0;}
    nav.navbar {height: 53px;}
    .navbar-default .navbar-collapse, .navbar-default .navbar-form {background-color: rgba(31, 31, 31, 0.74);}
  #about .about-img {
    height: auto;
  }
  #about .about-img img {
    margin-left: 0;
    padding-bottom: 30px;
  }
}

#chi-siamo .content h2,
#prodotti .content h2 {
  color: #333;
  font-weight: 300;
  font-size: 24px;
  text-align: left;
}

#chi-siamo .content h3,
#prodotti .content h3 {
  color: #777;
  font-weight: 300;
  font-size: 18px;
  line-height: 26px;
  font-style: italic;
  text-align: left;
}

#chi-siamo .content p,
#prodotti .content p {
  line-height: 1.5;
  text-align: justify !important;
}

#chi-siamo .content p:last-child,
#prodotti .content p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Prodotti
   ========================================================================== */
#prodotti .wow{margin-bottom: 30px;}
#prodotti .box{padding-bottom: 20px;background-color: #fff; border-radius: 10px;
-webkit-box-shadow: 1px 1px 1px 0px rgba(0,0,0,0.15);
-moz-box-shadow: 1px 1px 1px 0px rgba(0,0,0,0.15);
box-shadow: 1px 1px 1px 0px rgba(0,0,0,0.15);
}
#prodotti .box h3{text-align: left;padding-left: 15px;}
#prodotti .box p{margin: 0;}
#prodotti .prodotti-item{height: 170px;}

/* ================================
calcolatore
================================= */
.box-calcolatore img {
	margin: 0 auto 30px;
}
/* ================================
Services
================================= */
#services .wow{margin-bottom: 30px;}
#services .box{padding-bottom: 20px;background-color: #fff; border-radius: 10px;
-webkit-box-shadow: 1px 1px 1px 0px rgba(0,0,0,0.15);
-moz-box-shadow: 1px 1px 1px 0px rgba(0,0,0,0.15);
box-shadow: 1px 1px 1px 0px rgba(0,0,0,0.15);
}
#services .box h3{text-align: left;padding-left: 15px;}
#services .box p{margin: 0; text-align: justify !important;}
#services .box img{width: 100%;}
#services .prodotti-item{height: 139px;}

@-webkit-keyframes loader {
	0% { background: #ddd; }
	33% { background: #ccc; box-shadow: 0 0 1px #ccc, 15px 30px 1px #ccc, -15px 30px 1px #ddd; }
	66% { background: #ccc; box-shadow: 0 0 1px #ccc, 15px 30px 1px #ddd, -15px 30px 1px #ccc; }
}

@-moz-keyframes loader {
	0% { background: #ddd; }
	33% { background: #ccc; box-shadow: 0 0 1px #ccc, 15px 30px 1px #ccc, -15px 30px 1px #ddd; }
	66% { background: #ccc; box-shadow: 0 0 1px #ccc, 15px 30px 1px #ddd, -15px 30px 1px #ccc; }
}

@keyframes loader {
	0% { background: #ddd; }
	33% { background: #ccc; box-shadow: 0 0 1px #ccc, 15px 30px 1px #ccc, -15px 30px 1px #ddd; }
	66% { background: #ccc; box-shadow: 0 0 1px #ccc, 15px 30px 1px #ddd, -15px 30px 1px #ccc; }
}
/* ================================
Contact
================================= */
.form-horizontal .form-group{margin-left: 0; margin-right: 0;}
textarea.form-control {height: 132px;}
.form-control{background-color: rgba(255,255,255,0.80);}
.validation {
  color: red;
  display:none;
  margin: 0;
  font-weight:400;
  font-size:13px;
}

#sendmessage {
  color: green;
  border:1px solid green;
  display:none;
  text-align:center;
  padding:15px;
  font-weight:600;
  margin-bottom:15px;
}

#errormessage {
  color: red;
  display:none;
  border:1px solid red;
  text-align:center;
  padding:15px;
  font-weight:600;
  margin-bottom:15px;
}

#sendmessage.show, #errormessage.show, .show {
	display:block;
}
.contact-widget{ margin-bottom: 18px;}
.contact-widget h5{ margin-bottom: 12px;}

.invio{margin-top: 15px;}
.invio p, .validation {text-align: left !important; }
.checkbox label{padding-left: 11px;}
/* ================================
Clients
================================= */
ul.clients {
	list-style: none;
}
ul.clients li {
	display: inline;
}

/* ================================
Bottom widget
================================= */
#bottom-widget {
  overflow: hidden;
}
ul.social-network {
	margin: 0;
	margin-left:0;
	padding-left: 0;
	list-style: none;
}
ul.social-network li {
	display: inline;
	margin: 5px 5px;
}


ul.social-network li a:hover span .fa-circle {
	color: #2b2b2b;
}

ul.social-network li a i{
  transition: 0.3s
}
/* ================================
Footer
================================= */
footer {
	color: #fff;
	padding: 50px 0 30px;
        text-align: center;
}

footer a {
	color: #fff;
}

footer a:hover {
	color: #fff;
	text-decoration: underline;
}

.cc_container .cc_btn, .cc_container .cc_btn:visited{
    background-color: #0094CC !important;
    color:white !important;
}
.parallax-text{padding-top: 14%;background: rgba(0, 148, 204, 0.5) !important;padding: 2%;}
.parallax p{text-align: center;}
#cookie-policy.home-section{padding: 140px 0px;}
#cookie-policy td{text-align: justify !important;}
.btn{border-radius: 5px;}

/* ================================
Portfolio
================================= */

.img-portfolio{height: 257px;overflow: hidden;}
.img-rollup {
  top: 0%;
  position: relative;
  transition: all .7s ease-out;
  height: 100%;
}
.modal-body li{color: #88cbe7;padding-top: 12px; cursor: pointer;}
.desc-portfolio{text-align: center; }
.desc-portfolio ul{margin-top: 10px;}
.desc-portfolio li{color: #88cbe7;padding-top: 7px; cursor: pointer;}
.desc-portfolio li:hover, .modal-body li:hover{color: #777;}
.desc-portfolio h4{margin-bottom: 5px;font-size:21px;    height: 46px;}
.desc-portfolio p{height: 50px;}
.desc-portfolio a{margin-top: 5px;}

.attributo{height: 30px;}


.line{
    margin: 0 auto;
    display: block;
    height: 1px;
    width: 50px;
    background: #88cbe7;
    margin-top: 10px;
    margin-bottom: 10px;
}
.modal-backdrop{z-index: 0 !important;}
.btn-info{background-color: #88cbe7;}
.item-portfolio {margin-bottom: 50px;}
/* ================================
more media queries
================================= */

@media (max-width:768px) {
        
        .service .box-1 .panel-body {padding: 15px 15px 37px;}
	header{
		padding-bottom: 50px;
		/*min-height: 1000px;*/
		height: 100%;
	}

	.navbar-nav {
		float: left;
		text-align: left;
	}

	.box-team, .box-team img {
		text-align: center;
	}
	.box-team img {
		float: none;
		margin:0 auto;
	}
	.box-team {
		margin-bottom: 30px;
	}

/*	.og-fullimg { display: none; }
	.og-details { float: none; width: 100%; padding: 0 40px; }*/

}

@media (max-width:1024px) {
    .service .box-1 .panel-body {padding: 15px 15px 59px;}
}
@media (max-width:992px) {
    #parallax,
    #parallax1,
    #parallax2,
    #parallax3{background-attachment: fixed; background-position: center !important; background-size: cover;}
	.service.carousel .item h4, .service.carousel .item p{
		text-align: center;
	}
        .service .box-1 {padding-right: 0;}

	.service p{margin-bottom: 7px;}
/*	.og-expander {
		background: transparent;

	}
	.og-details {
		padding: 0 20px;
	}*/

}

@media (max-width:480px){
        #cookie-policy.home-section {padding: 58px 0px;}
        .info-contact{margin-bottom: 30px; text-align: center;}
        .btn-theme.pull-right{float: none !important;width: 100%;}
        #prodotti .prodotti-item {height: auto; margin-bottom: 20px;}
        #services .prodotti-item {height: auto;}
        #prodotti .box h3,
        #services .box h3{text-align: center;}
        .prodotti-img img{margin: 0 auto;}
        h2{font-size: 1.7rem;}
        h4{font-size: 18px;}
        .lead{font-size: 1.4rem;}
        .navbar-brand img{margin-left: 15px;width: 87px;}
        .intro-text h1{font-size: 23px;}
        .intro-text p span{font-size: 18px;}
        .home-section.parallax {padding: 100px 0;}
        .home-section {padding: 25px 0px;}
        .section-heading h2 {font-size: 2.5rem;}
        .prodotti-img{margin-bottom: 20px;}
        .section-heading {margin-bottom: 20px;}
        #prodotti .content h2 {font-size: 19px;}
	header .carousel-iphone, .detail .screenshot{
		width: 280px;
	}

	header .carousel, .detail .screenshot img{
		padding-top: 85px;
		width: 245px;
	}

	.service .screenshot img{
		margin-top: -12px;
		padding-top: 0px;
	}

	header{
		padding-top: 30px;
		padding-bottom: 0px;
	}

	header h1{
		font-size: 70px;
	}
}