/*
Theme Name: Call4Music
Author: Consilvio Media Design
Description: Thema 'C4M'
Version: 1.0
Tags: dark
Text Domain: c4m, call4music
*/

/* CSS RESET */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	text-decoration: none;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1.2em;
	overflow-y: scroll;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

strong {
  font-weight: bold;
}

em {
  font-style: italic;
}

a {
  color: #d9132e;
}

a:hover {
  text-decoration: underline;
}

a img { border: 0; }

html, body { width: 100%; height: 100%; }

body
 {
  font-family: Arial, sans-serif;
  font-size:   13px;
  line-height: 1.6;

  background:  #333333;
  color:       #4a5462;
 }

h1, h2, h3, h4, h5
 {
  font-family: 'Oswald', sans-serif;
  font-weight: bold;
  text-transform: uppercase;
 }

h1
 {
  font-size: 36px;
 }
 
h2
 {
  font-size: 32px;
 }

p
 {
  margin-bottom: .8em;
 }
 
img
 {
  display: block;
 }
 
.fb-like
 {
  position: absolute !important;
  top:      13px;
  right:    17px;
 }

#content
 {
  width:     100%;
  max-width: 1300px;
  margin:    0 auto;
 }

#header
 {
  position: relative;
  width:    100%;
  overflow: hidden;
  background: white;
 }

#header-main
 {
  position: fixed;
  z-index:  50;
  top:      0;
  width:    100%;
  max-width: 1300px;
 }

#header-title
 {
  text-transform: uppercase;

  font-family: 'Oswald', sans-serif;
  font-weight: bold;
  font-size:   26px;
  float:       left;
  width:       auto;
  padding:     5px 50px 0 20px;

  line-height: 51px;
 }

#menu
 {
  float: left;
  white-space: nowrap;
  overflow: hidden;

  padding-top: 13px;
 }

#menu li
 {
  float: left;
 }


.red
 {
  color: #d82129;
 }

#menu a
 {
  font-family: 'Oswald', sans-serif;
  font-weight: bold;
  font-size:   20px;
  line-height: 1;

  text-transform: uppercase;
  float:          left;

  color:        #e7e2c7;
  background:   #d82129;
  border:       2px solid #d82129;

  display:      block;
  padding:      4px 6px;
  margin-right: 7px;
 }

#menu a:hover, #menu a.active
 {
  color:      #d82129;
  background: #e7e2c7;
  border:     2px solid #d82129;
  text-decoration: none;
 }

 .filter a:hover, #post-main a:hover
  {
    text-decoration: none;    
  }
 
.block
 {
  width: 100%;
  clear: both;
 }

.reel
 {
  margin-top: 56px;
 }

.reel img
 {
  width: 100%;
 }

.about
 {
  position: relative;
  overflow: hidden;
  background: white;
 }

.about .left
 {
  width: 50%;
  float: left;
  position: relative;
 }

.about .bg
 {
  position: absolute;
  width:    100%;
  z-index:  -1;
  top:      0;
  left:     0;
 }
 
.about .text
 {
  padding: 5%;
  padding-bottom: 0;
 }

.about .right
 {
  width: 50%;
  float: left;
 }

.about .right img
 {
  width: 100%;
 }
 
.projects
 {
  position: relative;
  overflow: hidden;
  
  /* background: url('./images/bg-projects-header.png') top left no-repeat;
  background-size: cover; */
 }
 
.projects .bg
 {
  position: absolute;
  width:    100%;
  z-index:  -1;
  top:      0;
  left:     0;
 }

 .projects > h1
  {
   width: 100%;
   text-align: center;
   color: #e7e1c1;

   text-shadow: -4px 4px 0px rgba(157, 81, 52, 1);
   -moz-text-shadow: -4px 4px 0px rgba(157, 81, 52, 1);
   -webkit-text-shadow: -4px 4px 0px rgba(157, 81, 52, 1);
   -ms-text-shadow: -4px 4px 0px rgba(157, 81, 52, 1);

   margin-bottom: .3em;
  }

.projects a
 {
  font-family: 'Oswald', sans-serif;
  font-weight: bold;
  font-size:   16px;
  line-height: 1;

  text-transform: uppercase;
  width:          auto;

  color:        #e7e2c7;
  background:   #d82129;
  border:       2px solid #d82129;

  padding:      2px 3px;
  margin-right: 7px;

  cursor:       pointer;
 }

.projects a:hover, .projects a.active
 {
  color:      #d82129;
  background: #e7e2c7;
  border:     2px solid #d82129;
 }

.projects .filter
 {
  width: 100%;
  text-align: center;
  
  margin-bottom: 10px;
 }

.projects-display
 {
  overflow: hidden;
  
  background: url('./images/bg-project.png') top left;
  background-size: 25% auto;
 }

.projects-display .item
 {
  float: left;
  width: 25%;
  cursor: pointer;
  position: relative;
 }

.projects-display .title
 {
  display: table;
  opacity: 0;
  position: absolute;
  z-index:  2;
  left:     5%;
  top:      5%;
  width:    90%;
  height:   90%;

  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  transition: all .3s;
 }

.projects-display .item img
 {
  width: 100%;
 }

.projects-display .lighten
 {
  opacity: 0;

  position: absolute;
  left:     0;
  top:      0;
  z-index:  1;
  background: white;
  background: rgba(255, 255, 255, .8);

  width: 100%;
  height: 100%;
  
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  transition: all .3s;
 }

.projects-display .item:hover .lighten
 {
  opacity: 1;
 }

.projects-display .item:hover .title
 {
  opacity: 1;
 }

.projects-display a
 {
  display:        table-cell;
  vertical-align: middle;
  text-align:     center;

  font-size: 26px;
  font-family: 'Oswald', sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  color:     #d82129;
  line-height: 1em;
 }
 
.post-content
 {
  display: none;
 }

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

.contact .left, .right
 {
  width: 50%;
  float: left;
 }

.contact .bg
 {
  position: absolute;
  z-index:  -1;
  left:     0;
  top:      0;
  width:    100%;
 }
 
.contact .right
 {
  height: 100%;
  text-align: center;
 } 
 
.contact .right [type=submit] 
 {
  position: absolute;
  bottom:   20px;
 }
 
.contact .right [type=text] 
 {
   -moz-appearance:    textfield;
  -webkit-appearance: textfield;
  appearance: textfield;
 }
 
*::-webkit-input-placeholder {
color: #4a5462;
}
*:-moz-placeholder {
color: #4a5462;
}
*:-ms-input-placeholder { /* IE10+ */
color: #4a5462;
} 

.contact > div
 {
  padding: 5%;
  padding-top: 2%;
 }
 
.contact h1
 {
  text-shadow: -3px 4px 0px rgba(105,105,105, 1);
 }

.contact .subtitle, .contact table td, .contact input[type=submit], .contact .properties
 {
  font-family: 'Oswald', sans-serif;
  font-weight: bold;
  font-size:   18px;
  text-transform: uppercase;
 }

.contact .subtitle
 {
  display: block;
  text-align: left;
  font-size: 26px;
 }

.contact table td
 {
  font-size: 15px;
  color: #d82129;
  vertical-align: top;
  padding-right: 15px;
  padding-bottom: 5px;

  text-align: right;
 }

.contact table tr:last-child td
 {
  text-align: center;
 }

.contact input[type=text], .contact input[type=email], .contact textarea
 {
  background: #f8f8db;
  color:      #4a5462;
  border:     0;
  width:      100%;

  font-family: Arial, sans-serif;
  
  padding:    5px;
 }

.contact textarea
 {
  margin-top: 2px;
 }
 
.contact input[type=submit]
 {
  background: #d82129;
  border:     2px solid transparent;
  color:      #e7e2c7;
  cursor:     pointer;
 }

.contact input[type=submit]:hover
 {
  color:      #d82129;
  background: #e7e2c7;
  border:     2px solid #d82129;
 }

.contact input[type=text]:focus, .contact input[type=email]:focus, .contact textarea:focus
 {
  outline: 2px solid #48515f;
 }

.contact .properties
 {
  font-size: 18px;
  margin: 30px;
 }

.contact .properties span
 {
  display: block;
  margin: 7px 0px;
 }

.contact a
 {
  color: #d82129;
 }

.contact a:hover
 {
  color:      #d82129;
 }

.contact .address, .contact .phone, .contact .mail
 {
  padding-left: 45px;
  background-position: 0px 0px;
  background-repeat: no-repeat;
 }

.contact .address
 {
  background-image: url('./images/icon-home.png');
  cursor: pointer;
  color: #d82129;
 }

.contact .address:hover
 {
  text-decoration: underline;
 }

.contact .phone
 {
  background-image: url('./images/icon-phone.png');
 }

.contact .mail
 {
  background-image: url('./images/icon-mail.png');
 }
 
.anchor
 {
  position: absolute;
  width:    0;
  height:   0;
 }
 
 #overlay-main
  {
   position: fixed;
   width:    100%;
   height:   100%;
   top:        0;
   left:       0;
   background: rgba(51,51,51, .5);
   z-index:    100;

   cursor:     pointer;

   opacity:    0;

/*    -webkit-transition: all .5s;
   -moz-transition: all .5s;
   transition: all .5s; */
  }

 #overlay-main.active
  {
   opacity: 1;
  }

 #overlay
  {
   z-index:  100;
   position: fixed;
   top:      50%;
   left:     50%;
   width:      600px;
  }

 #overlay > div
  {
   margin:  0 auto;
   opacity: 0;
   max-width: 100%;
   max-height: 100%;
   height:     auto;
   width:      600px;

/*    -webkit-transition: all .8s;
   -moz-transition: all .8s;
   transition: all .8s; */

   background: white;
   
   box-shadow: -4px 4px 0px rgba(51, 51, 51, .5);
   -moz-box-shadow: -4px 4px 0px rgba(51, 51, 52, .5);
   -webkit-box-shadow: -4px 4px 0px rgba(51, 51, 51, .5);
   -ms-box-shadow: -4px 4px 0px rgba(51, 51, 51, .5);
  }
  
 #overlay iframe[style]
  {
   max-width: 100% !important;
   max-height: 100% !important;
  }

 #overlay > div > div
  {
   padding: 15px;
  }
  
 .contact #from
  {
   position: absolute;
   bottom: 75px;
   width:  300px;
   margin-left: -100px;
  } 

.fb_iframe_widget iframe 
 {
  margin-top: -5px;
 }


.contact .right  {
  position: relative;
  height: 480px;
}

 .contact .right a, .contact .right img {
  display: inline;
  margin: 5px;
  cursor: pointer;
 }

 .contact .right table {
  position: absolute;
  height: 100%;
  width: 100%;
}

 .contact .right td {
  vertical-align: middle;
  text-align: center;
 }

 .contact .right a:hover {
  text-decoration: none;
 }

 .contact .right img {
  width: 75px;
 } 

@media only screen and (max-width: 1130px)
 {   
  .contact .bg
   {
    width: auto;
    height: 100%;
   }  
 }

@media only screen and (max-width: 1025px)
 {
  .about .left, .about .right
   {
    width: 100%;
    float: none;
   }
   
  #header-title
   {
    font-size:   18px;
    line-height: 41px;
   } 
   
  #menu
   {
    padding-top: 5px;
   } 
   
  .projects .bg
   {
    width: auto;
    height: 100%;
    min-height: 110px;
   } 

  .reel
   {
    margin-top: 46px;
   }
 }

@media only screen and (max-width: 805px)
 {
  .reel
   {
    margin-top: 83px;
   }
 }

@media only screen and (max-width: 900px)
 {   
  .projects-display
   {
    background-size: 50% auto;
   }

  .projects-display .item
   {
    width: 50%;
   }
   
  .contact .left, .contact .right
   {
    float: none;
    width: 100%;
    max-width: 325px;
    min-height: 50px;
   }

  .contact .right  {
    position: relative;
    height: 250px;
  }   
   
  .contact .right [type=submit]
   {
    margin-left: -185px;
   } 
   
  .contact #from
   {
    position: static;
    width: 244px;
    margin-left: 60px;
   } 

  .projects-display a
   {
    font-size: 16px;
   }

  #overlay h1
   {
    font-size: 18px;
   }

  #menu
   {
    float: none;
    clear: both;
    margin-left: 20px;
    margin-bottom: 15px;
   }

  #menu a
   {
    font-size: 15px;
   }

  #header-title
   {
    float: none;
    padding-right: 0;
   }
   
  .fb-like
   {
    position: static !important;
    margin-left: 17px;
    margin-bottom: 15px;
    width:         90% !important;
   }
 }

 @media only screen and (max-width: 320px) {
  .reel {
    margin-top: 154px;
  }
 }