/* ---------- GENERAL STYLES ---------- */
html,body{
    height:100%;
}
body {
    overflow-x: hidden;
	background-color: #FFFFFF;
	color: #555;
	font-family: 'Raleway', sans-serif;
}

h1,
h2,
h3 {
	font-weight: normal;
}

a {
	color: #212121;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
	background-color: trasparent;
}

ul li {
	list-style-type: square;
}

/* ---------- NAV ---------- */

nav {
	background-color: #212121;
	font-size: 1.2em;
	padding: 10px 50px 10px 60px;
	position: fixed;
	z-index: 999;
	width: 100%;
}

nav ul {
	margin: 0;
	text-align: center;
}

nav li {
	color: #ccc;
	margin: 0 0px 0 0;
	display: inline;
	list-style-type: none;
}

nav li a {
	color: #ccc;
	padding: 12px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

nav li a:hover, nav li a:active, nav li a:focus {
	color: #212121;
	text-decoration: none;
	background-color: #FFFFFF;
}
/* ---------- HEADER ---------- */





/* ---------- SECTIONS---------- */
.section {
	background-color: #FFFFFF;
	overflow: hidden;
}
.banner {
    height:80%;
    background-image: url("http://giannidicaprio.com/pic/agency/a_04.jpg");
    background-size: cover;
    -o-background-size:cover;
    -moz-background-size:cover;
    -webkit-background-size:cover;
    -ms-background-size:cover;
    background-position: center center;
    position: relative;

}
.banner-caption {
    display: table; 
    height: 100%; 
    width:100%; 
    position: relative; 
    z-index:1; 
    padding: 0 20px;
}
.banner-caption-copy { 
    display: table-cell; 
    vertical-align: middle; 
    text-align: center; 
    color:#fff;
}
.banner-caption-copy h1 {
    font-size: 2.8rem;
	line-height: 1;
	margin: 0;
	padding: 10px;
    -webkit-animation-duration: 6s;
  -webkit-animation-delay: 6s;
}

.banner-caption-copy h1 a {
	color: #414141;
     -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.banner-caption-copy h1 a:hover {
	padding: 30px 50px;
    color: #fff;
	text-decoration: none;
    background: rgba(33, 33, 33,0.7);
}
@media screen and (max-width:768px) {
   .banner-caption-copy h1 {
    font-size: 1.8rem;
	line-height: 2;
	
    } 
    .banner-caption-copy h1 a:hover {
	padding: 5px 7px;
    color: #fff;
	text-decoration: none;
    background: rgba(33, 33, 33,0.7);
    }
}


header h2 {
	font-size: 1em;
	margin: 0;
}

#services {
	background-color: #fafafa;
}

#team {
    background-color: #fafafa;
}

.section-pagination {
     margin: 20px 0 20px 0 ;

}
.section-tags {
    margin-top: 30px ;
}

.section-swag {
    max-width : 100%;
    margin : 30px 0 30px 0;
}
.swag {
    height:100%;
    background-image: url("http://giannidicaprio.com/pic/agency/a_09.jpg");
    background-size: cover;
    -o-background-size:cover;
    -moz-background-size:cover;
    -webkit-background-size:cover;
    -ms-background-size:cover;
    background-position: center center;
    position: relative;
    background-attachment: fixed;
    padding: 250px;
}
.swag h1
{
    color: #ffffff;
    font-size: 3em;
    letter-spacing: 5px;
}
/* ---------- IMG SERVICES/TEAM ---------- */
.img-services {
	 -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.img-services:hover {
		-webkit-transform: scale(1.1);
        -moz-transform: scale(1.1);
        -o-transform: scale(1.1);
        transform: scale(1.1);
}

.img-team {
	border: 1px dashed #212121;
}
.ul-team {
	list-style: outside none none;
    padding: 0px;
    text-align: center;
}
.ul-team li {
	display: inline;
    margin-right: 5px;
}

/* ---------- SECTION ---------- */


/* ---------- GRID BLOG ---------- */
.autogrid3 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 1rem;
}


/* ---------- BLOG ---------- */
.container-blog {
	margin: 0 auto;
	max-width: 1280px;
	padding-left: 1rem;
	padding-right: 1rem;
}

/*#container {
	background-color: #fff;
	/*border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-bottom: 3px solid #ccc;
	margin: 0 50px 50px;
	overflow: hidden;
	padding: 40px;
}*/

.directory {
	margin: 0 0 50px 0;
}

.directory:first-letter{
	text-transform: uppercase;
}
/* ---------- ARTICLE / PAGE ---------- */
.width-sidebar {
	float: left;
	width: 65%;
}

.full-width {
	width:100%;
}
article header h1 {
	color: #212121;
	line-height: 1.1;
	margin-top: 10px;
	margin-left: 10px;
	font-size: 1.2rem;
}
.arrow {
 background-color: transparent;
  background-image: url("../img/h1-bg.png");
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center bottom;
  background-clip: border-box;
  background-origin: padding-box;
  background-size: auto auto;
  padding-bottom: 30px;
}
article header h1 a {
	color: #212121;
}
article header h1 a:hover {
	color: #fff;
	background-color: #212121;
}

article header {
	background-color: transparent;
	color: inherit;
	padding: 0;
	text-align: left;
}

article header p {
	color: #777;
	font-size: 0.9em;
	font-style : normal;
	margin-bottom: 0;
}
.date {
margin-left: 10px;
}
article section {
	background-color: #fff;
	padding: 0;
}

article img {
	margin: 0 5px;
	border: 1px dashed #212121;
	max-width: 100%;
	width: 100%;
	height: auto;
}

article footer {
	background-color: inherit;
	color: #777;
	font-size: 0.9em;
	font-style : italic;
	margin-bottom: 50px;
	padding: 0;
	text-align: left;
}

article footer a{
	color:#212121;
	}
article footer a:hover {
	color: #fff;
	/*background-color: #212121;*/
}

/* ---------- MORE ---------- */

.post-more {
    display: inline-block;
    padding: 7px 14px;
    border: 3px double #272b2f;
    font-size: 9px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.post-more:hover
{

  border-top-color: #ffffff;
  border-right-color-value: #ffffff;
  border-bottom-color: #ffffff;
  border-left-color-value: #ffffff;
  background-color: #272b2f;
  color: #ffffff;
}
/* ---------- AUTHOR ---------- */
.author-infos {
	margin: 5px;
	padding: 10px;
	font-size: 12px;
	background-color: #f9f9f9;
	border: 2px solid #ccc;
}
.author-infos img {
	border: 1px solid #dedede;
	padding: 1px;
	margin-right: 10px;
}

.author-infos span {
	font-size: 16px;
	font-weight: bold;
}

/* ---------- COMMENT ---------- */

#comments {
	margin-bottom: 50px;
}

.info_comment {
	color: #777;
	font-size: 0.9em;
	font-style : italic;
}

.comment {
	background-image: url(../img/user.png);
	background-repeat: no-repeat;
	margin-bottom: 30px;
	padding-left: 60px;
}

.com-alert {
	color: #db2020;
	font-weight: bold;
}

/* ---------- PAGINATION ---------- */
#pagination {
	margin: 50px;
	text-align: center;
}

#pagination span,
#pagination a {
	display: inline-block;
	margin: 0;
	padding: 5px;
}


#pagination span:first-letter,
#pagination a:first-letter {
	text-transform: uppercase;
}

/* ---------- SIDEBAR ---------- */

aside {
	float: right;
	width: 30%;
	margin-top: 80px;
	/*border-top: 2px dotted #ccc;
	border-left: 2px dotted #ccc;*/
}

aside h3 {
	color: #fff;
	font-size: 1.4em;
	margin: 10px 0 10px 10px;

}
.box-noir {
    background-color: #212121;
    padding-top: 5px;
    padding-right: 0px;
    padding-bottom: 5px;
    padding-left: 5px;
    width: 100%;

}
.box-noir h3 {
    color: #fff;
	font-size: 1.4em;
	margin: 10px 0 10px 10px;
}
.well {
  min-height: 20px;
  padding: 16px;
  margin-bottom: 20px;
  background-color: #fff;
  border: 1px solid #e3e3e3;
  border-image-source: none;
  border-image-slice: 100% 100% 100% 100%;
  border-image-width: 1 1 1 1;
  border-image-outset: 0 0 0 0;
  border-image-repeat: stretch stretch;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.05) inset;
}
.well  a {
 -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.well a:hover {
	color:#fff;
	background-color: #212121;

	/*-webkit-transform: scale(1.1);
        -moz-transform: scale(1.1);
        -o-transform: scale(1.1);
        transform: scale(1.1);*/

}
aside a {
	color: #555;
}
aside a:hover {
	color: #fff;
	background-color: #212121;
}

aside ul {
	margin: 10px 0 50px 15px;
}

aside li:first-letter {
	text-transform: uppercase;
}
.sidebar_widget
{
  max-width: 100%;
  margin: 0;
  padding: 20px;
  background-color: #ffffff;
}


.rss {
	background-image: url(../img/rss.png);
	background-repeat: no-repeat;
	line-height: 1;
	margin: 10px 15px;
	padding-left: 20px;
}

/* ---------- TAG ---------- */

.tag {
	display: inline-block;
	margin: 3px;
	padding: 5px;
	background-color: #212121;


}
.tag a {
	color: #fff;
	}

.tag-size-1 {
	font-size: 1em;
}

.tag-size-2 {
	font-size: 1.1em;
}

.tag-size-3 {
	font-size: 1.2em;
}

.tag-size-4 {
	font-size: 1.3em;
}

.tag-size-5 {
	font-size: 1.4em;
}

.tag-size-6 {
	font-size: 1.5em;
}

.tag-size-7 {
	font-size: 1.6em;
}

.tag-size-8 {
	font-size: 1.7em;
}

.tag-size-9 {
	font-size: 1.8em
}

.tag-size-10 {
	font-size: 1.9em;
}

.tag-size-max {
	font-size: 2em;
}

/* ---------- FOOTER ---------- */

footer {
	background-color: #fff;
	clear: both;
	color: #212121;
	padding: 50px;
	text-align: center;
	border-top: 1px solid #ccc;
}

footer p {
	margin: 0;
}

footer a {
	color: #212121;
}

footer a:hover {
	color: #fff;
	background-color: #212121;
}

/* ---------- FORM ---------- */

#form h2 {
	margin: 0;
}

label {
	display:block;
}

input,
select,
textarea {
	border: 1px solid #bbb;
	color: #555;
}

button,
input[type=submit],
input[type=reset] {
	background-color: #0082b0;
	border: 1px solid #0082b0;
	color: #eee;
}

button:hover,
input[type=submit]:hover,
input[type=reset]:hover {
	background-color: #444;
	border: 1px solid #444;
}

.capcha-letter,
.capcha-word {
	font-weight: bold;
}

/* ---------- TABLE ---------- */
table, th, td {
	border: 1px solid #999
}

.border{
	border-bottom: 1px dashed #ccc;
}

/* ---------- RESPONSIVE DESIGN ---------- */

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

	nav {
		padding: 5px 20px;
		text-align: center;
        -webkit-transition: padding .3s;
        -moz-transition: padding .3s;
        transition: padding .3s;
	}

	.banner {
	  padding-top: 100px;
      padding-right: 0px;
      padding-bottom: 100px;
      padding-left: 0px;
	}
	.section-swag {
	padding-top: 100px;
  padding-right: 0px;
  padding-bottom: 100px;
  padding-left: 0px;
	}

	header {
		padding-left: 20px;
		padding-right: 20px;
	}

	#container {
		margin: 0 20px 20px 20px;
		padding: 20px;
	}
		h1 {
		font-size: 0.9em
			}


	.width-sidebar,
	aside {
		width: 100%;
	}

	button,
	input,
	select,
	textarea {
		max-width: 100%;
}

	aside {
		margin-top: 50px;
	}
	.autogrid3 {
		display: grid;
		grid-template-columns: 1fr;
	
	}




}
