/*
Theme Name:
Author: Marco Garoni

Colors:
	Body	: #868F9B
	Headers : #10161A
	Primary : #3366cc	#fab702  giallo  #6195FF blu
	Dark    : #FCFCFF
	Grey 	: #F4F4F4 #FAFAFA #EEE

Fonts: Montserrat Varela Round

Table OF Contents
------------------------------------
1 > General
2 > Logo
3 > Navigation
4 > Header
5 > About
6 > Portfolio
7 > Services
8 >  Why choose us
9 >  Numbers
10 > Pricing
11 > Testimonial
12 > Team
13 > Blog
14 > Blog post
15 > Blog sidebar
16 > Contact
17 > Footer
18 > Responsive
19 > Owl theme
20 > Back to top
21 > Preloader
22 > Policy  (MGa)

------------------------------------*/


/*------------------------------------*\
	Personalizzazione - MGa
\*------------------------------------*/


.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}



/* --  Full Screen Image slider - kenburnsy   -- */
.background-overlay {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    opacity: .6;	/* .8; .3; */
    background: #1C1D21;	/* #1C1D21; #3366cc;*/
}
/* --  /Full Screen Image slider - kenburnsy   -- */

/* --  SubPage IMG Overlay   -- */
.overlay {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    opacity: .6;	/* .8; .3; */
    background: #1C1D21;	/* #1C1D21; #3366cc;*/
}
/* --  /SubPage IMG Overlay   -- */



/* --  Home Page Carousel - .owl-carousel   -- */
#hpcarousel .owl-carousel{
	margin:2rem 0
}
#hpcarousel .owl-carousel .item{
	height:10rem;	/* 12 */
	padding:1rem;
	background_:#FFF; 	/* #4DC7A0 */
	opacity_: .3;
}
#hpcarousel .owl-carousel .item h4{
	color: #e0e0e0;		/* ffff00;	#3366cc; */
	font-size: 36px;
	margin-top:0rem;
	font-family: 'EXO', sans-serif;	/* 'Montserrat' */
    font-weight: 700;
	line-height: 40px;
}
#hpcarousel .owl-carousel .item-video{
	height:300px;
}
#hpcarousel #setup{
	margin-top:4rem
}
#hpcarousel .demo-list h5{
	margin:0
}
@media only screen{
	.demo-list [class*="column"]+[class*="column"]:last-child{float:left}}.callbacks div{margin-bottom:0.3rem}.callbacks span.label{-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
}
/* --  /Home Page Carousel - .owl-carousel   -- */

/* --  /Home Page Carousel - .owl-carousel   -- */
@media only screen and (max-width: 680px) {

	#hpcarousel .owl-carousel .item h4{
		font-size: 24px;
	}	

}

@media only screen and (max-width: 480px) {

	#hpcarousel .owl-carousel .item {
		height:5rem;	/* 12 */
	}	
	#hpcarousel .owl-carousel .item h4{
		font-size: 16px;
		height:1rem;	/* 12 */
	}	

	#hpcarousel .owl-theme {
		height: 80px;
	}

}


/* --  Button   -- */
.myButton {
	background-color:#3366cc;
	border-radius:28px;
     -moz-border-radius:28px;
	 -webkit-border-radius:28px;	
	border:1px solid #3366cc;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family_:Verdana;
	font-size:17px;
	padding:7px 31px;
	text-decoration:none;
	text-shadow_:0px 1px 0px #154682;
	 height: 40px;
	 text-align:center;
	 vertical-align:middle;
}
.myButton:hover {
	background-color:#ffffff;
	color:#3366cc;
	font-weight: 700;
	
	box-shadow:#d6d6d6 1px 3px 2px;
	o-box-shadow:#d6d6d6 1px 3px 2px;
	-moz-box-shadow:#d6d6d6 1px 3px 2px;
	-webkit-box-shadow:#d6d6d6 1px 3px 2px;
}
.myButton:active {
	position:relative;
	top:1px;
}
/* --  /Button   -- */


/* -- Divisori  -- */
 .booth {
	
	/* --  divisorio  -- */
    content:"";
  	display:block;
  	height:1px;
  	background-color: #cccccc;	/* --  #6195FF;  -- */
    margin-top: 20px;	
    margin-bottom: 30px;	
	/* -- centra -- */
	top: 50%; left: 0; right: 0; bottom: 0;
    width: 80%;
	margin-left: 10%;
}
.div-height30 {
	
	/* --  divisorio  -- */
  	height:30px;
}
.div-height50 {
	
	/* --  divisorio  -- */
  	height:50px;
}
/* -- /Divisori  -- */


/**
 * Box Scritte - MGa
 */
.enfatize {
    background-color_: white;
    position: relative;
    text-align: center;
    padding: 40px 20px;
    border_: 1px solid #EEE;
    margin: 15px 0px;	
}
.enfatize-text {
	font-family: 'Libre Baskerville', serif;
    font-size: 32px;
    color: #595959;
}
/**
 * /Box Scritte - MGa
 */


/**
 * Checkbox per Form Contact - MGa
 */
/* Start by hiding the checkboxes  */
input[type=checkbox] {
visibility: hidden;
}
.checkboxMGa {
width: 25px;
margin_: 20px 100px;
position: relative;
}
/**
 * Create the box for the checkbox
 */
.checkboxMGa label {
cursor: pointer;
position: absolute;
width: 25px;
height: 25px;
top: 0;
  left: 0;
background: #eee;
border:1px solid #ddd;
}
/**
 * Display the tick inside the checkbox
 */
.checkboxMGa label:after {
opacity: 0.2;
content: '';
position: absolute;
width: 9px;
height: 5px;
background: transparent;
top: 6px;
left: 7px;
border: 3px solid #333;
border-top: none;
border-right: none;
-webkit-transform: rotate(-45deg);
-moz-transform: rotate(-45deg);
-o-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
transform: rotate(-45deg);
}
/**
 * Create the hover event of the tick
 */
.checkboxMGa label:hover::after {
opacity: 0.5;
}
/**
 * Create the checkbox state for the tick
 */
.checkboxMGa input[type=checkbox]:checked + label:after {
opacity: 1;
}
/**
 * /Checkbox - MGa
*/
 

/*
  Collapse Panel Icona e Link - MGa
*/
.panel-heading .accordion-toggle:after {
    /* symbol for "collapsed" panels */
	font-family: FontAwesome;
    content: "\f00d";    /* \f00d  X */
    float: right;
    color: red;
}
.panel-heading .accordion-toggle.collapsed:after {
    /* symbol for "opening" panels */
    content: "\f054";    /* a\f054  > */
    color: #3366cc;   /*  grey */
}

.panel-title a: {
    color: #10161A;
}.panel-title a:hover {
    text-decoration: none;
    outline: none;
    opacity: 0.8;
    color: #10161A;
}
.panel-title a:focus {
    text-decoration: none;
    outline: none;
    opacity: 0.8;
    color: #10161A;
}
/*
  /Collapse Panel - MGa
*/


/*   Modal Panel - MGa */
.modal-footer p {
  line-height: 15px;
}
/*   /Modal Panel - MGa */



/* --  SUB Page Carousel - .owl-carousel   -- */

#subcarousel{
  margin: 2em auto;
  width_: 90%;
  max-width_: 680px;
  background_: #fff;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
      border: 1px solid #EEE;
	  text-align: center;
	  padding-top: 20px;
}
#subcarousel .owl-carousel{
	margin:2rem 0
}
#subcarousel .owl-carousel .item{
	height:auto;	/* 18em; */
	padding:1rem;
	background-color: #ffffff; 	/* #f2f2f2 */
	opacity_: .3;
      border: 1px solid #dddddd;
	  display_: block;
}
#subcarousel .owl-carousel .item img{
	margin-bottom:2rem;
}
#subcarousel .owl-carousel .item-video{
	height:300px
}
#subcarousel #setup{
	margin-top:4rem
}
#subcarousel .demo-list h5{
	margin:0
}
@media only screen{
	.demo-list [class*="column"]+[class*="column"]:last-child{float:left}}.callbacks div{margin-bottom:0.3rem}.callbacks span.label{-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
}
/* --  /Home Page Carousel - .owl-carousel   -- */
@media only screen and (max-width: 680px) {

	#subcarousel .owl-carousel .item h3{
		font-size_: 16px;
	}	

}


/* --  Portfolio   -- */

/* Controls
---------------------------------------------------------------------- */

.mixcontrols {
    padding: 1rem;
    background_: #333;
    font-size_: 0.1px;
	text-align: center;
}

.mixcontrol {
    /* --  trasforma bottoni in grafica
	position: relative;
    display: inline-block;
    width: 2.7rem;
    height: 2.7rem;
    background: #444;
    cursor: pointer;
    font-size: 0.1px;
    color: white;
    transition: background 150ms;
	-- */
	
	margin-top: 1rem;
	border-radius: 0px;
	border: 1px solid #3366cc;
	padding: 6px;
	color: #FFF;
	   background: #3366cc;
}

.mixcontrol:hover {
    background: #FFF;		/* #393939; */
	color: #3366cc;
	border-radius: 0px;
}

.mixcontrol:focus {
    background: #FFF;		/* #393939; */
	color: #3366cc;
	outline: none;
	border-radius: 0px;
}

.mixcontrol_[data-filter]:after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    top: calc(50% - 6px);
    left: calc(50% - 6px);
    border: 2px solid currentColor;
    border-radius: 2px;
    background: currentColor;
    transition: background-color 150ms, border-color 150ms;
}

.mixcontrol_[data-sort]:after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-top: 2px solid;
    border-left: 2px solid;
    top: calc(50% - 6px);
    left: calc(50% - 6px);
    transform:  translateY(1px) rotate(45deg);
}

.mixcontrol_[data-sort*=":desc"]:after {
    transform:  translateY(-4px) rotate(-135deg);
}

.mixitup-control-active {
    background: #FFF;		/* #393939; */
	color: #3366cc;
}

.mixitup-control-active[data-filter]:after {
    background: transparent;
}

.mixcontrol_:first-of-type {
    border-radius: 3px 0 0 3px;
}

.mixcontrol_:last-of-type {
    border-radius: 0 3px 3px 0;
}

.mixcontrol[data-filter] + .mixcontrol[data-sort] {
    margin-left: .75rem;
}

.mixcontrol_[data-filter=".green"] {
    color: #91e6c7;
}

.mixcontrol_[data-filter=".blue"] {
    color: #5ecdde;
}

.mixcontrol_[data-filter=".pink"] {
    color: #d595aa;
}

.mixcontrol_[data-filter="none"] {
    color: #2f2f2f;
}


/* Container
---------------------------------------------------------------------- */

.mixcontainer {
    padding: 1rem;
    text-align: justify;
    font-size: 10.1px;	/* 0.1px; */
}

.mixcontainer:after {
    content: '';
    display: inline-block;
    width: 100%;
}

/* Target Elements
---------------------------------------------------------------------- */

.mix,
.gap {
    display: inline-block;
    vertical-align: top;
}

.mix {
    background: #fff;
    border-bottom: .1rem solid #e0e0e0;		/* .5rem solid currentColor; -  #e0e0e0 */
    border-right: .1rem solid #e0e0e0;		/* .5rem solid currentColor; -  #e0e0e0 */
    border-radius: 2px;
    margin-bottom: 1rem;
    position: relative;
}

.mix:before {
    content_: '';
    display: inline-block;
    padding-top_: 56.25%;
}

.mix.green {
    color: #91e6c7;
}

.mix.pink {
    color: #d595aa;
}

.mix.blue {
    color: #5ecdde;
}


.mix:hover {
    opacity: .4;
}

/* Centra immagine all'interno del DIV */
.mix img {
    margin-left: auto; 
	margin-right: auto;
}



/* Grid Breakpoints
---------------------------------------------------------------------- */

/* 2 Columns */

.mix,
.gap {
    width: calc(100%/2 - (((2 - 1) * 1rem) / 2));
}

/* 3 Columns */

@media screen and (min-width: 541px) {
    .mix,
    .gap {
        width: calc(100%/3 - (((3 - 1) * 1rem) / 3));
    }
}

/* 4 Columns */

@media screen and (min-width: 961px) {
    .mix,
    .gap {
        width: calc(100%/4 - (((4 - 1) * 1rem) / 4));
    }
}

/* 5 Columns */

@media screen and (min-width: 1281px) {
    .mix,
    .gap {
        width: calc(100%/5 - (((5 - 1) * 1rem) / 5));
    }
}

/* --  /Portfolio   -- */




/*--------------------------------------------------------------
# About Lists
--------------------------------------------------------------*/
.about-lists {
  padding: 5px;
}

.about-lists .row {
  overflow: hidden;
}

.about-lists .content-item {
  padding: 30px;
  border-left_: 1px solid #d9e8f4;
  border-bottom_: 1px solid #d9e8f4;
  margin_: -1px;

  border-top_: 1px solid #d9e8f4;
}

.about-lists .content-item span {
  display: block;
  font-size: 36px;		/* 24px; */
  font-weight: 400;
  color: #9eccf4;
  
  background-color_: #f7f7f7;
  border-bottom: 1px solid #d9e8f4;
}

.about-lists .content-item h4 {
  font-size: 28px;
  font-weight: 400;
  padding: 0;
  margin: 20px 0;
  
  line-height: 30px;
}

.about-lists .content-item p {
  color: #aaaaaa;
  font-size: 15px;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  .about-lists .content-item {
    padding: 30px 0;
  }
}




/*------------------------------------*\
	/Personalizzazione - MGa
\*------------------------------------*/
 
 
 
 
/*------------------------------------*\
	General
\*------------------------------------*/

/* -- typography -- */

body {
    font-family: 'Varela Round', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    color: #868F9B;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-top: 0px;
    margin-bottom: 20px;
    color: #10161A;
}

h1 {
    font-size: 54px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 21px;
}

h4 {
    font-size: 18px;
}

h5 {
    font-size: 16px;
}

a {
    color: #3366cc;
    text-decoration: none;
    -webkit-transition: 0.2s opacity;
    transition: 0.2s opacity;
}

a:hover, a:focus {
    text-decoration: none;
    outline: none;
    opacity: 0.8;
    color: #3366cc;
}

.main-color {
    color: #3366cc;
}

.white-text {
    color: #FFF;
}

::-moz-selection {
    background-color: #3366cc;
    color: #FFF;
}

::selection {
    background-color: #3366cc;
    color: #FFF;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none
}


/* -- section  -- */

.section {
    position: relative;
}

.md-padding {
    padding-top: 120px;
    padding-bottom: 120px;
}

.sm-padding {
    padding-top: 60px;
    padding-bottom: 60px;
}

/* -- MGa -- */
.xsm-padding {
    padding-top: 20px;
    padding-bottom: 2 0px;
}


/* --  background section  -- */

.bg-grey {
    background-color: #FAFAFA;
    border-top: 1px solid #EEE;
    border-bottom: 1px solid #EEE;
}

.bg-dark {
    background-color_: #1C1D21;

	background_: rgb(0,0,0);
	background_: linear-gradient(149deg, rgba(0,0,0,1) 0%, rgba(71,71,71,1) 86%, rgba(103,103,103,1) 100%);
	
background: rgb(0,0,0);
background: linear-gradient(149deg, rgba(0,0,0,1) 0%, rgba(71,71,71,1) 88%, rgba(91,91,91,1) 100%);	

	/* -- 
	background-image: linear-gradient(to right, rgba(255,0,0,0), rgba(255,0,0,1));
	-- */
}


/* --  background image section  -- */

.bg-img {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
	
	height_: 70%;
}

.bg-img .overlay {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    opacity: .8;
    background: #1C1D21;
}




/* --  section header  -- */

.section-header {
    position: relative;
    margin-bottom: 60px;
}

.section-header .title {
    text-transform: capitalize;
}

.title:after {
	/* --  divisorio  -- */
    content:"";
  	display:block;
  	height:4px;
  	width:40px;
  	background-color: #3366cc;
    margin-top: 20px;
}

.text-center .title:after {
    margin: 20px auto 0px;
}

/* --  Input  -- */

input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="date"], input[type="url"], input[type="tel"], textarea {
    height: 40px;
    width: 100%;
    border: none;
	  background: #F4F4F4;
    border-bottom: 2px solid #EEE;
    color: #354052;
    padding: 0px 10px;
    opacity: 0.5;
    -webkit-transition: 0.2s border-color, 0.2s opacity;
    transition: 0.2s border-color, 0.2s opacity;
}

textarea {
    padding: 10px 10px;
    min-height: 80px;
    resize: vertical;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, input[type="number"]:focus, input[type="date"]:focus, input[type="url"]:focus, input[type="tel"]:focus, textarea:focus {
    border-color: #3366cc;
    opacity: 1;
}

/* --  Buttons  -- */

.main-btn, .white-btn, .outline-btn {
    display: inline-block;
    padding: 10px 35px;
    margin: 3px;
    border: 2px solid transparent;
    border-radius: 3px;
    -webkit-transition: 0.2s opacity;
    transition: 0.2s opacity;
}

.main-btn {
    background: #3366cc;
    color: #FFF;
}

.white-btn {
    background: #FFF;
    color: #10161A !important;
}

.outline-btn {
    background: transparent;
    color: #3366cc !important;
    border-color: #3366cc;
}

.main-btn:hover, .white-btn:hover, .outline-btn:hover {
    opacity: 0.8;
}


/*------------------------------------*\
	Logo
\*------------------------------------*/

.navbar-brand {
    padding: 0;
}

.navbar-brand .logo, .navbar-brand .logo-alt {
    max-height: 50px;
    display: block;
}

#nav:not(.nav-transparent):not(.fixed-nav) .navbar-brand .logo-alt {
	display: none;
}

#nav.nav-transparent:not(.fixed-nav) .navbar-brand .logo {
	display: none;
}

#nav.fixed-nav .navbar-brand .logo-alt {
    display: none;
}

@media only screen and (max-width: 767px) {
    #nav.nav-transparent .navbar-brand .logo-alt {
        display: none !important;
    }
    #nav.nav-transparent .navbar-brand .logo {
        display: block !important;
    }
}


/*------------------------------------*\
	Navigation
\*------------------------------------*/

#nav {
    padding: 10px 0px;
    background: #FFF;
    -webkit-transition: 0.2s padding;
    transition: 0.2s padding;
    z-index: 999;
}

#nav.navbar {
    border: none;
    border-radius: 0;
    margin-bottom: 0px;
}

#nav.fixed-nav {
    position: fixed;
    left: 0;
    right: 0;
    padding: 0px 0px;
    background-color: #FFF !important;
    border-bottom: 1px solid #CCC;		/* -- MGa #EEE -- */
	
	/* -- Ombra MGa - aggiunta -- */
	box-shadow: 0px 2px 8px 2px #EEEEEE;
	-webkit-box-shadow: 0px 2px 8px 2px #EEEEEE;
	-moz-box-shadow: 0px 2px 8px 2px #EEEEEE;
	-o-box-shadow: 0px 2x 8px 2px #EEEEEE;
	
}

#nav.nav-transparent {
    background: transparent;
}


/* -- default nav -- */

@media only screen and (min-width: 768px) {
    .main-nav li {
        padding: 0px 15px;
    }
    .main-nav li a {
        font-size: 14px;
        -webkit-transition: 0.2s color;
        transition: 0.2s color;
    }
    .main-nav>li>a {
        color: #10161A;
        padding: 15px 0px;
    }
    #nav.nav-transparent:not(.fixed-nav) .main-nav>li>a {
        color: #fff;
    }
    .main-nav>li>a:hover, .main-nav>li>a:focus, .main-nav>li.active>a {
        background: transparent;
        color: #3366cc;
    }
    .main-nav>li>a:after {
        content: "";
        display: block;
        background-color: #3366cc;
        height: 2px;
        width: 0%;
        -webkit-transition: 0.2s width;
        transition: 0.2s width;
    }
    .main-nav>li>a:hover:after, .main-nav>li.active>a:after {
        width: 100%;
    }
    /* dropdown */
    .has-dropdown {
        position: relative;
    }
    .has-dropdown>a:before {
        font-family: 'FontAwesome';
        content: "\f054";
        font-size: 6px;
        margin-left: 6px;
        float: right;
        -webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        transform: rotate(90deg);
        -webkit-transition: 0.2s transform;
        transition: 0.2s transform;
    }
    .dropdown {
        position: absolute;
        right: -50%;
        top: 0;
        background-color: #3366cc;
        width: 200px;
        -webkit-box-shadow: 0px 5px 5px -5px rgba(53, 64, 82, 0.2);
        box-shadow: 0px 5px 5px -5px rgba(53, 64, 82, 0.2);
        -webkit-transform: translateY(15px) translateX(50%);
        -ms-transform: translateY(15px) translateX(50%);
        transform: translateY(15px) translateX(50%);
        opacity: 0;
        visibility: hidden;
        -webkit-transition: 0.2s all;
        transition: 0.2s all;
    }
    .main-nav>.has-dropdown>.dropdown {
        top: 100%;
        right: 50%;
    }
    .main-nav>.has-dropdown>.dropdown .dropdown.dropdown-left {
        right: 150%;
    }
    .dropdown li a {
        display: block;
        color: #FFF;
        border-top: 1px solid rgba(250, 250, 250, 0.1);
        padding: 10px 0px;
    }
    .dropdown li:nth-child(1) a {
        border-top: none;
    }
    .has-dropdown:hover>.dropdown {
        opacity: 1;
        visibility: visible;
        -webkit-transform: translateY(0px) translateX(50%);
        -ms-transform: translateY(0px) translateX(50%);
        transform: translateY(0px) translateX(50%);
    }
    .has-dropdown:hover>a:before {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    .nav-collapse {
        display: none;
    }
}


/* -- mobile nav -- */

@media only screen and (max-width: 767px) {
    #nav {
        padding: 0px 0px;
    }
    #nav.nav-transparent {
        background: #FFF;
    }
    .main-nav {
        position: fixed;
        right: 0;
        height: calc(100vh - 80px);
        -webkit-box-shadow: 0px 80px 0px 0px #1C1D21;
        box-shadow: 0px 80px 0px 0px #1C1D21;
        max-width: 250px;
        width: 0%;
        -webkit-transform: translateX(100%);
        -ms-transform: translateX(100%);
        transform: translateX(100%);
        margin: 0;
        overflow-y: auto;
        background: #1C1D21;
        -webkit-transition: 0.2s all;
        transition: 0.2s all;
    }
    #nav.open .main-nav {
        -webkit-transform: translateX(0%);
        -ms-transform: translateX(0%);
        transform: translateX(0%);
        width: 100%;
    }
    .main-nav li {
        border-top: 1px solid rgba(250, 250, 250, 0.1);
    }
    .main-nav li a {
        display: block;
        color: #FFF;
        -webkit-transition: 0.2s all;
        transition: 0.2s all;
    }
    .main-nav>li.active {
        border-left: 6px solid #3366cc;
    }
    .main-nav li a:hover, .main-nav li a:focus {
        background-color: #3366cc;
        color: #FFF;
        opacity: 1;
    }
    .has-dropdown>a:after {
        content: "\f054";
        font-family: 'FontAwesome';
        float: right;
        -webkit-transition: 0.2s -webkit-transform;
        transition: 0.2s -webkit-transform;
        transition: 0.2s transform;
        transition: 0.2s transform, 0.2s -webkit-transform;
    }
    .dropdown {
        opacity: 0;
        visibility: hidden;
        height: 0;
        background: rgba(250, 250, 250, 0.1);
    }
    .dropdown li a {
        padding: 6px 10px;
    }
    .has-dropdown.open-drop>a:after {
        -webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        transform: rotate(90deg);
    }
    .has-dropdown.open-drop>.dropdown {
        opacity: 1;
        visibility: visible;
        height: auto;
        -webkit-transition: 0.2s all;
        transition: 0.2s all;
    }
}


/* -- nav btn collapse -- */

.nav-collapse {
    position: relative;
    float: right;
    width: 40px;
    height: 40px;
    margin-top: 5px;
    margin-right: 5px;
    cursor: pointer;
    z-index: 99999;
}

.nav-collapse span {
    display: block;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    position: absolute;
    top: 50%;
    left: 50%;
    width: 25px;
}

.nav-collapse span:before, .nav-collapse span:after {
    content: "";
    display: block;
}

.nav-collapse span, .nav-collapse span:before, .nav-collapse span:after {
    height: 4px;
    background: #10161A;
    -webkit-transition: 0.2s all;
    transition: 0.2s all;
}

.nav-collapse span:before {
    -webkit-transform: translate(0%, 10px);
    -ms-transform: translate(0%, 10px);
    transform: translate(0%, 10px);
}

.nav-collapse span:after {
    -webkit-transform: translate(0%, -14px);
    -ms-transform: translate(0%, -14px);
    transform: translate(0%, -14px);
}

#nav.open .nav-collapse span {
    background: transparent;
}

#nav.open .nav-collapse span:before {
    -webkit-transform: translateY(0px) rotate(-135deg);
    -ms-transform: translateY(0px) rotate(-135deg);
    transform: translateY(0px) rotate(-135deg);
}

#nav.open .nav-collapse span:after {
    -webkit-transform: translateY(-4px) rotate(135deg);
    -ms-transform: translateY(-4px) rotate(135deg);
    transform: translateY(-4px) rotate(135deg);
}


/*------------------------------------*\
	Header
\*------------------------------------*/

header {
    position: relative;
}

/* Home Page Index */
#home {
    height: 100vh;
}
#home .home-wrapper {
    position: absolute;
    left: 0px;
    right: 0px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    text-align: center;
}



.home-content h1 {
  text-transform: uppercase;
  /*  -- No IE
  -webkit-transform: rotate(-3deg);
  -moz-transform: rotate(-3deg);
  */
}
.home-content button {
  margin-top: 20px;
}

.header-wrapper h2 {
    display: inline-block;
    margin-bottom: 0px;
}

.header-wrapper .breadcrumb {
    float: right;
    background: transparent;
    margin-bottom: 0px;
}

.header-wrapper .breadcrumb .breadcrumb-item.active {
    color: #868F9B;
}

.breadcrumb>li+li:before {
    color: #868F9B;
}


/*   box in home page */
#home .about {
    position: relative;
    text-align: center;
    padding: 20px 10px;
    border: 1px solid #EEE;
    margin: 10px 0px;
	background-color: #808080;
	opacity: 0.6;
	
	color: white;
}
#home .about:hover {
	opacity: 0.9;
}
#home .about:hover h3 {
    color: #3366cc;    /* #fff; MGa se Section non ha un colore di sfondo come bg-grey */
}
/*   end - box in home page */




/*   IMG Home in subpage */
div.container-img {
  width: 100%;
  width_: 96%;
  max-width_: 960px;
  margin: 0 auto; /* to center the container */
}
div.container-img img {
  width: 100%;
  height_: auto;
}
div.container-img .home-wrapper {
    position: absolute;
    left: 0px;
    right: 0px;
    top: 60%;	/* MGa 50% */
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    text-align: center;
}


/*------------------------------------*\
	Box-Info
\*------------------------------------*/


.box-info {
    position: relative;
    text-align: center;
    padding: 20px 10px;
    border: 1px solid #EEE;
    margin: 10px 0px;
}

.box-info i {
    font-size: 36px;
    color: #3366cc;
    margin-bottom: 10px;
}








/*------------------------------------*\
	About   blu #3366cc  giallo #fab702    blu  #6195FF
\*------------------------------------*/


.about {
    position: relative;
    text-align: center;
    padding: 40px 20px;
    border: 1px solid #EEE;
    margin: 15px 0px;
}

.about i {
    font-size: 36px;
    color: #3366cc;
    margin-bottom: 20px;
}

.about:after {
    content: "";
    background-color: #3366cc;    /* #1C1D21; MGa se Section non ha un colore di sfondo come bg-grey */
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0%;
    z-index: 1;    /* -1; MGa se Section non ha un colore di sfondo come bg-grey */
    -webkit-transition: 0.2s width;
    transition: 0.2s width;
}

.about:hover:after {
    width: 2%;    /* 100%; MGa se Section non ha un colore di sfondo come bg-grey */
}

.about h3 {
    -webkit-transition: 0.2s color;
    transition: 0.2s color;
}

.about:hover h3 {
    color: #868F9B;    /* #fff; MGa se Section non ha un colore di sfondo come bg-grey */
}



/*  Test per Modal */

.about_modal_img {
    position: relative;
    text-align: center;
    padding: 0px 0px;		/* 40 20 */
    border_: 1px solid #EEE;
    margin: 0px 0px;		/* 15 0 */
}


.about_modal {
    position: relative;
    text-align: center;
    padding: 20px 10px;		/* 40 20 */
    border: 1px solid #EEE;
    margin: 10px 0px;		/* 15 0 */
}

.about_modal i {
    font-size: 30px;	/* 36 */
    color: #3366cc;
    margin-bottom: 10px;	/* 20 */
}

.about_modal:after {
    content: "";
    background-color: #3366cc;    /* #1C1D21; MGa se Section non ha un colore di sfondo come bg-grey */
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0%;
    z-index: 1;    /* -1; MGa se Section non ha un colore di sfondo come bg-grey */
    -webkit-transition: 0.2s width;
    transition: 0.2s width;
}

.about_modal:hover:after {
    width: 2%;    /* 100%; MGa se Section non ha un colore di sfondo come bg-grey */
}

.about_modal h3 {
    -webkit-transition: 0.2s color;
    transition: 0.2s color;
}

.about_modal:hover h3 {
    color: #868F9B;    /* #fff; MGa se Section non ha un colore di sfondo come bg-grey */
}

/*  End - Test per Modal */



/*------------------------------------*\
	Portfolio
\*------------------------------------*/

.work {
    position: relative;
    padding: 20px;
}

.work>img {
  width: 100%;
}

.work .overlay {
    background: #1C1D21;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    opacity: 0;
    -webkit-transition: 0.2s opacity;
    transition: 0.2s opacity;
    -webkit-transition-delay: 0.2s;
    transition-delay: 0.2s;
}

.work:hover .overlay {
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    opacity: 0.8;
}

.work .work-content {
    position: absolute;
    left: 25px;
    right: 25px;
    top: 50%;
    text-align: center;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.work .work-content h3 {
    -webkit-transform: translateY(100%);
    -ms-transform: translateY(100%);
    transform: translateY(100%);
    opacity: 0;
    color: #FFF;
    margin-bottom: 10px;
    -webkit-transition: 0.2s all;
    transition: 0.2s all;
    -webkit-transition-delay: 0.1s;
    transition-delay: 0.1s;
}

.work:hover .work-content h3 {
    -webkit-transform: translateY(0%);
    -ms-transform: translateY(0%);
    transform: translateY(0%);
    opacity: 1;
    -webkit-transition-delay: 0.1s;
    transition-delay: 0.1s;
}

.work .work-content span {
    display: block;
    text-transform: uppercase;
    -webkit-transform: translateY(100%);
    -ms-transform: translateY(100%);
    transform: translateY(100%);
    opacity: 0;
    color: #3366cc;
    margin-bottom: 5px;
    -webkit-transition: 0.2s all;
    transition: 0.2s all;
    -webkit-transition-delay: 0.2s;
    transition-delay: 0.2s;
}

.work:hover .work-content span {
    -webkit-transform: translateY(0%);
    -ms-transform: translateY(0%);
    transform: translateY(0%);
    opacity: 1;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

.work .work-link {
    text-align: center;
    margin-top: 20px;
    opacity: 0;
    -webkit-transition: 0.2s opacity;
    transition: 0.2s opacity;
}

.work .work-link a {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: #3366cc;
    color: #FFF;
    line-height: 50px;
    text-align: center;
}

.work:hover .work-link {
    -webkit-transition-delay: 0.2s;
    transition-delay: 0.2s;
    opacity: 1;
}


/*------------------------------------*\
	Services
\*------------------------------------*/

.service {
    position: relative;
    padding: 40px 20px 40px 70px;
    margin: 15px 0px;
    border: 1px solid #EEE;
}

.service i {
    position: absolute;
    left: 20px;
    text-align: center;
    font-size: 32px;
    color: #3366cc;
    border-radius: 50%;
}

.service:after {
    content: "";
    background-color: #1C1D21;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0%;
    z-index: -1;
    -webkit-transition: 0.2s width;
    transition: 0.2s width;
}

.service:hover:after {
    width: 100%;
}

.service h3 {
  -webkit-transition: 0.2s color;
  transition: 0.2s color;
}

.service:hover h3 {
    color: #fff;
}

/*------------------------------------*\
	Why choose us
\*------------------------------------*/

.feature {
    margin: 15px 0px;
}
.feature i {
    float: left;
    padding: 5px;
    border-radius: 50%;
    color: #3366cc;
    border: 1px solid #3366cc;
    margin-right: 5px;
}

/*------------------------------------*\
	Numbers
\*------------------------------------*/

.number {
    text-align: center;
    margin: 15px 0px;
}

.number i {
    color: #3366cc;
    font-size: 36px;
    margin-bottom: 20px;
}

.number h3 {
    font-size: 36px;
    margin-bottom: 10px;
}


/*------------------------------------*\
	Pricing
\*------------------------------------*/

.pricing {
    position: relative;
    text-align: center;
    border: 1px solid #EEE;
    background-color: #FFF;
    z-index: 11;
    margin: 15px 0px;
}

.pricing::after {
    content: "";
    background-color: #1C1D21;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 0%;
    z-index: -1;
    -webkit-transition: 0.2s height;
    transition: 0.2s height;
}

.pricing:hover:after {
    height: 100%;
}

.pricing .price-head {
    position: relative;
    margin-bottom: 20px;
}

.pricing .price-title {
    display: block;
    padding: 40px 0px 20px;
    text-transform: uppercase;
    -webkit-transition: 0.2s color;
    transition: 0.2s color;
}

.pricing:hover .price-title {
    color: #3366cc;
}

.pricing .price {
    position: relative;
    width: 140px;
    height: 140px;
    line-height: 140px;
    text-align: center;
    margin: auto;
    border-radius: 50%;
    border: 2px solid #3366cc;
}

.pricing .price h3 {
  font-size: 42px;
  margin: 0px;
  -webkit-transition: 0.2s color;
  transition: 0.2s color;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  top: 50%;
  position: absolute;
  left: 0;
  right: 0;
}

.pricing:hover .price h3 {
    color: #fff;
}

.pricing .duration {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    color: #10161A;
    -webkit-transition: 0.2s color;
    transition: 0.2s color;
}

.pricing:hover .duration {
    color: #fff;
}

.pricing .price-btn {
    padding-top: 20px;
    padding-bottom: 40px;
}

/*------------------------------------*\
	Testimonial
\*------------------------------------*/

.testimonial {
    margin: 15px 0px;
}

.testimonial-meta {
    position: relative;
    padding-left: 90px;
    height: 70px;
    margin-bottom: 20px;
    padding-top: 10px;
}

.testimonial img {
    position: absolute;
    left: 0;
    top: 0;
    width: 70px !important;
    height: 70px !important;
    border-radius: 50%;
}

.testimonial h3 {
    margin-bottom: 5px;
}

.testimonial span {
    font-size: 14px;
    color: #3366cc;
    text-transform: uppercase;
}


/*------------------------------------*\
	Team
\*------------------------------------*/

.team {
    position: relative;
    background-color: #F4F4F4;
    padding: 40px 20px;
    margin: 15px 0px;
}

.team::after {
    content: "";
    background-color: #1C1D21;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 0%;
    z-index: 1;
    -webkit-transition: 0.2s height;
    transition: 0.2s height;
}

.team:hover:after {
    height: 100%;
}

.team-img {
    position: relative;
    margin-bottom: 20px;
    z-index: 11;
}

.team-img>img {
  width: 100%;
}

.team .overlay {
    background: #1C1D21;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    opacity: 0;
    -webkit-transition: 0.2s opacity;
    transition: 0.2s opacity;
}

.team:hover .overlay {
    opacity: 0.8;
}

.team .team-content {
    text-align: center;
    position: relative;
    z-index: 11;
}

.team .team-content h3 {
    margin-bottom: 10px;
    -webkit-transition: 0.2s color;
    transition: 0.2s color;
}

.team .team-content span {
    font-size: 14px;
    text-transform: uppercase;
    -webkit-transition: 0.2s color;
    transition: 0.2s color;
}

.team:hover .team-content h3 {
    color: #FFF;
}

.team:hover .team-content span {
    color: #3366cc;
}

.team .team-social {
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0;
    -webkit-transition: 0.2s opacity;
    transition: 0.2s opacity;
}

.team .team-social a {
    display: block;
    line-height: 50px;
    width: 50px;
    text-align: center;
    background-color: #3366cc;
    color: #FFF;
}

.team:hover .team-social {
    opacity: 1;
}


/*------------------------------------*\
	Blog
\*------------------------------------*/

.blog {
    background-color: #FFF;
    margin: 15px 0px;
}

.blog .blog-content {
    padding: 20px 20px 40px;
}

.blog .blog-meta {
    margin-bottom: 20px;
}

.blog .blog-meta li {
    display: inline-block;
    font-size: 14px;
    color: #10161A;
    margin-right: 10px;
}

.blog .blog-meta li i {
    color: #3366cc;
    margin-right: 5px;
}

/*------------------------------------*\
	Blog post
\*------------------------------------*/

#main .blog .blog-content {
  padding: 20px 0px 0px;
}

#main .blog {
  margin-top: 0px;
}

/* -- blog tags -- */

.blog-tags {
    margin: 40px 0px;
}

.blog-tags h5 {
    margin-bottom: 0;
    display: inline-block;
}

.blog-tags a {
    display: inline-block;
    padding: 6px 13px;
    font-size: 14px;
    margin: 2px 0px;
    background: #F4F4F4;
    color: #10161A;
}

.blog-tags a:hover {
  color: #FFF;
  background-color: #3366cc;
}

.blog-tags a i {
    margin-right: 3px;
    color: #3366cc;
}

.blog-tags a:hover i {
  color: #FFF;
}


/* -- blog author -- */

.blog-author {
    margin: 40px 0px;
}

.blog-author .media .media-left {
    padding-right: 20px;
}

.blog-author .media {
    padding: 20px;
    border: 1px solid #EEE;
}

.blog-author .media .media-heading {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #EEE;
}

.blog-author .media .media-heading h3 {
    display: inline-block;
    margin: 0;
    text-transform: uppercase;
}

.blog-author .media .media-heading .author-social {
  float: right;
}

.blog-author .author-social a {
    display: inline-block;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
    border-radius: 3px;
    margin-left: 5px;
    color: #FFF;
    background-color: #3366cc;
}

/* -- blog comments -- */

.blog-comments {
    margin: 40px 0px;
}

.blog-comments .media {
    padding: 20px;
    background-color: #FFF;
    border-top: 1px solid #EEE;
    border-bottom: 0px;
    border-right: 1px solid #EEE;
    border-left: 1px solid #EEE;
    margin-top: 0px;
}

.blog-comments .media:first-child {
    border-bottom: 0px;
}

.blog-comments .media:last-child {
    border-bottom: 1px solid #EEE;
}

.blog-comments .media .media-left {
  padding-right: 20px;
}

.blog-comments .media .media-body .media-heading {
    text-transform: uppercase;
    margin-bottom:10px;
}

.blog-comments .media .media-body .media-heading .time {
    font-size: 12px;
    margin-left: 20px;
    font-weight: 400;
    color: #868F9B;
}

.blog-comments .media .media-body .media-heading .reply {
    float: right;
    margin: 0;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 400;
}

.blog-comments .media.author {
    background-color: #F4F4F4;
    border-color: #3366cc;
    border-bottom: 1px solid #3366cc;
}
.blog-comments .media.author>.media-body>.media-heading {
    color: #3366cc;
}

.blog-comments .media.author + .media {
    border-top: 0px;
}

/* blog reply form */

.reply-form {
    margin: 40px 0px;
}

.reply-form form .input, .reply-form form .input , .reply-form form textarea {
	margin-bottom:20px;
}

.reply-form form .input, .reply-form form .input {
    width: calc(50% - 10px);
    display: inline-block;
}

.reply-form form .input:nth-child(2) {
    margin-left: 15px;
}


/*------------------------------------*\
	Blog sidebar
\*------------------------------------*/

#aside .widget {
    margin-bottom: 40px;
}

.widget h3 {
  text-transform: uppercase;
}

/* -- search sidebar -- */

#aside .widget-search {
    position: relative;
}

#aside .widget-search .search-input {
    padding-right: 50px;
}

#aside .widget-search .search-btn {
    position: absolute;
    right: 0px;
	  bottom: 0px;
    width: 40px;
    height: 40px;
    border: none;
    line-height: 40px;
    background-color: transparent;
    color: #3366cc;
}

/* -- category sidebar -- */

.widget-category a {
    display: block;
    font-size: 14px;
    color: #354052;
    border-bottom: 1px solid #EEE;
    padding: 5px;
}

.widget-category a:nth-child(1) {
  border-top: 1px solid #EEE;
}

.widget-category a span {
    float: right;
    color: #3366cc;
}

.widget-category a:hover {
    color: #3366cc;
}

/* -- tags sidebar -- */

.widget-tags a {
  display: inline-block;
  padding: 6px 13px;
  font-size: 14px;
  margin: 2px 0px;
  background: #F4F4F4;
  color: #10161A;
}

.widget-tags a:hover {
  color: #FFF;
  background-color: #3366cc;
}

/* -- posts sidebar -- */

.widget-post {
    min-height: 70px;
    margin-bottom: 25px;
}

.widget-post img {
    display: block;
    float: left;
    margin-right: 10px;
    margin-top: 5px;
}

.widget-post a {
    display: block;
    color: #10161A;
}

.widget-post a:hover {
    color: #3366cc;
}

.widget-post .blog-meta {
    display: inline-block;
}

.widget-post .blog-meta li {
    display: inline-block;
    margin-right: 5px;
    color: #3366cc;
    font-size: 12px;
}

.widget-post li i {
    color: #3366cc;
    margin-right: 5px;
}



/*------------------------------------*\
	Contact
\*------------------------------------*/

.contact {
    margin: 15px 0px;
    text-align: center;
}

.contact i {
    font-size: 36px;
    color: #3366cc;
    margin-bottom: 20px;
}

.contact-form {
    text-align: center;
    margin-top: 40px;
}

.contact-form .input {
    margin-bottom: 20px;
}


.contact-form .input:nth-child(1), .contact-form .input:nth-child(2) {
    width: calc(50% - 10px);
}

.contact-form .input:nth-child(2) {
    margin-left: 15px;
}


/*------------------------------------*\
	Footer
\*------------------------------------*/

#footer {
    position: relative;
}

.footer-logo {
    text-align: center;
    margin-bottom: 40px;
}

.footer-logo>a>img {
    max-height: 80px;
}

.footer-follow {
    text-align: center;
    margin-bottom: 20px;
}

.footer-follow li {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 13px;
}

.footer-follow li a {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  border-radius: 3px;
  background-color: #3366cc;
  color:#FFF;
}

.footer-copyright p {
    text-align: center;
    font-size: 14px;
    text-transform_: uppercase;     /* MGa rimosso  */
    margin: 0;
}


/* -- MGa  -- */
.footer3c-logo {
    text-align: left;
    margin-bottom: 40px;
}

.footer3c-logo>a>img {
    max-height: 80px;
}
/* -- /MGa  -- */




/*------------------------------------*\
	Responsive
\*------------------------------------*/


/* -- MGa -- */
@media only screen and (max-width: 767px) {
	h1  {
  		font-size:30px;
		color_: green;
	}
	h3  {
  		font-size:16px;
	}
	h4  {
  		font-size:14px;
		line-height: 18px;
	}
	
	#home h2{
		font-size: 26px;
	}	
}
@media (min-width: 768px) {
	/* .container { width: 750px; } */
 	h1  {
  		font-size:42px;
		color_: red;
	}
	h3  {
  		font-size:18px;
	}
	h4  {
  		font-size:16px;
		line-height: 20px;
	}
}
@media (min-width: 992px) {
	/* .container { width: 970px; } */
  	h1  {
  		font-size:46px;
		color_: blue;
	}
	h3  {
  		font-size:18px;
	}
	h4  {
  		font-size:18px;
		line-height:24px;
	}
}
@media (min-width: 1200px) {
	/* .container { width: 1170px; } */
  	h1  {
  		font-size:50px;
		color_: yellow;
	}
	h3  {
  		font-size:21px;
	}
	h4  {
  		font-size:18px;
		line-height: 24px;
	}
}
/* -- /MGa  -- */


@media only screen and (max-width: 991px) {}

@media only screen and (max-width: 767px) {

  .section-header h2.title {
  		font-size:31.5px;
	}

  .main-btn , .default-btn , .outline-btn , .white-btn  {
  		padding: 8px 22px;
  		font-size:14px;
	}

  .home-content h1 {
		font-size:36px;
	}

  .header-wrapper h2 {
      margin-bottom: 20px;
      text-align: center;
      display: block;
  }

  .header-wrapper .breadcrumb {
      float: none;
      text-align: center;
  }
}

@media only screen and (max-width: 480px) {



  #portfolio [class*='col-xs'] {
		  width:100%;
	}

  #numbers [class*='col-xs'] {
		  width:100%;
	}

  .contact-form .input:nth-child(1), .contact-form .input:nth-child(2) {
      width: 100%;
  }
  .contact-form .input:nth-child(2) {
      margin-left: 0px;
  }

  .reply-form form .input, .reply-form form .input {
      width: 100%;
  }
  .reply-form form .input:nth-child(2) {
      margin-left: 0px;
  }



  .blog-author .media .media-left {
      display: block;
      padding-right: 0;
      margin-bottom: 20px;
  }
  .blog-author .media {
      text-align: center;
  }
  .blog-author .media .media-heading .author-social {
      margin-top: 10px;
      float: none;
  }
  .blog-author .media .media-left img {
      margin: auto;
  }

  .blog-comments .media .media {
      margin:0px -15px;
  }
}



/*------------------------------------*\
	Owl theme
\*------------------------------------*/

/* -- dots -- */

.owl-theme .owl-dots .owl-dot span {
    border: none;
    background: #EEE;
    -webkit-transition: 0.2s all;
    transition: 0.2s all;
}

.owl-theme .owl-dots .owl-dot:hover span {
    background: #3366cc;
}
.owl-theme .owl-dots .owl-dot.active span {
	  background: #3366cc;
	  width:20px;
}

/* -- nav -- */

.owl-theme .owl-nav {
    opacity: 0;
    -webkit-transition: 0.2s opacity;
    transition: 0.2s opacity;
}

.owl-theme:hover .owl-nav {
    opacity: 1;
}

.owl-theme .owl-nav [class*='owl-'] {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    background: #3366cc;
    color: #FFF;
  	padding: 0px;
  	width: 50px;
  	height: 50px;
  	border-radius:3px;
  	line-height: 50px;
  	margin: 0;
}

.owl-theme .owl-prev {
    left: 0px;
}

.owl-theme .owl-next {
    right: 0px;
}

.owl-theme .owl-nav [class*='owl-']:hover {
    opacity: 0.8;
    background: #3366cc;
}


/*------------------------------------*\
	Back to top
\*------------------------------------*/

#back-to-top {
  	display:none;
  	position: fixed;
  	bottom: 20px;
  	right: 20px;
  	width: 50px;
  	height: 50px;
  	line-height: 50px;
  	text-align: center;
  	background: #3366cc;
  	border-radius:3px;
  	color: #FFF;
  	z-index: 9999;
    -webkit-transition: 0.2s opacity;
    transition: 0.2s opacity;
  	cursor: pointer;
}

#back-to-top:after {
    content: "\f106";
    font-family: 'FontAwesome';
}

#back-to-top:hover {
    opacity: 0.8;
}

/*------------------------------------*\
	Preloader
\*------------------------------------*/


#preloader {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background-color: #FFF;
    z-index: 99999;
}

.preloader {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
}
.preloader span {
    display: inline-block;
    background-color: #3366cc;
    width: 25px;
    height: 25px;
    -webkit-animation: 1s preload ease-in-out infinite;
            animation: preload 1s ease-in-out infinite;
    -webkit-transform: scale(0);
        -ms-transform: scale(0);
            transform: scale(0);
    border-radius:50%;
}

.preloader span:nth-child(1) {
    -webkit-animation-delay: 0s;
            animation-delay: 0s;
}

.preloader span:nth-child(2) {
    -webkit-animation-delay: 0.1s;
            animation-delay: 0.1s;
}

.preloader span:nth-child(3) {
    -webkit-animation-delay: 0.15s;
            animation-delay: 0.15s;
}

.preloader span:nth-child(4) {
    -webkit-animation-delay: 0.2s;
            animation-delay: 0.2s;
}

@-webkit-keyframes preload {
	0% {
	   -webkit-transform:scale(0);
	           transform:scale(0);
	}
  50% {
    -webkit-transform:scale(1);
            transform:scale(1);
  }
  100% {
    -webkit-transform:scale(0);
            transform:scale(0);
  }
}

@keyframes preload {
	0% {
	   -webkit-transform:scale(0);
	           transform:scale(0);
	}
  50% {
    -webkit-transform:scale(1);
            transform:scale(1);
  }
  100% {
    -webkit-transform:scale(0);
            transform:scale(0);
  }
}



/*------------------------------------*\
	Policy  (MGa)
\*------------------------------------*/


#policy .section-header {
    margin-bottom: 20px;
}

#policy .section-header h3 {
    font-weight: 400;
}

#policy  h4, h5 {
    font-weight: 400;
}


.policy-padding {
    padding-left: 20px;
    padding-right: 20px;
}

.policy {
    position: relative;
    padding: 30px 20px 20px 70px;
    margin: 15px 0px 30px 0px;
    border: 1px solid #EEE;
}

.policy  h3 {
    font-weight: 400;
}

.policy i {
    position: absolute;
    left: 20px;
    text-align: center;
    font-size: 32px;
    color: #3366cc;
    border-radius: 50%;
}

.policy p {
    margin: 0;
}
