@import url(http://fonts.googleapis.com/css?family=Roboto:400,900italic,300);
@import url(http://fonts.googleapis.com/css?family=Varela+Round);

* {
  box-sizing: border-box;
}
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
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;
}
img {
  min-width: 1px;
  max-width: 100%;
}

p {
  padding: 10px 0;
}

a {
  color: #d02a2a;
}

.floatLeft {
  float: left;
}

.floatRight {
  float: right;
}

.hidden {
  display: none;
}

.clear {
  clear: both;
}

.alignCenter {
  text-align: center;
}

.half {
  width: 50%;
}

.quarter {
  width: 25%;
}

.third {
  width: 33%;
}

.two-third {
  width: 66%;
}

.center {
  margin: 0 auto;
}

.rightToLeft {
  direction: rtl;
}

.wrapper {
  width: 90%;
  margin: 0 auto;
  max-width: 1275px;
}

body {
  background-color: #000;
  color: #fff;
  font-family: 'Roboto';
  font-weight: 400;
}

h1, h2, h3 {
  font-family: 'Roboto';
}

h2{
  border-bottom: 2px solid #d02a2a;
  margin: 30px auto;
  font-weight: 300;
  font-size: 22px;
  text-transform: uppercase;
  position: relative;
  z-index: 3;
}

input, textarea {
  border: 2px solid #515050;
  display: block;
  padding: 4px 6px;
  color: #fff;
  border-radius: 4px;
  background-color: #515050;
  transition: border linear .2s, box-shadow linear .2s;
  width: 100%;
  outline: none;
  margin-top: 1em;
}

input:focus, textarea:focus {
  border: 2px solid #fff;
}

input.submit {
  background-color: #d02a2a;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  padding: 5px 20px;
  display: inline-block;
  transition: opacity .4s ease;
  border: none;
  height: auto;
  width: auto;
  box-shadow: inset 0px -.15em 0px 0px rgba(0,0,0,.2), inset 0px 0px 0px 100px rgba(0,0,0,0), 0px .2em .15em 0px rgba(0,0,0,.15);
  font-weight: bold;
}

#header {
  background: #171210 url(../images/shervin.jpg) top right no-repeat;
  background-size: contain;
  width: 100%;
  min-height: 545px;
  z-index: 10;
  position: relative;
}

#headerContent {
  width: 40%;
  padding: 50px 30px;
}

#logo {
  background: transparent url(../images/redWhiteLogo.png) top center no-repeat;
  background-size: contain;
  text-indent: -9000px;
  display: block;
  height: 265px;
}

#nav {
  margin: 20px;
}

#nav ul li {
  display: inline-block;
  padding: 20px;
}

a.scrollingLink {
  color: #fff;
  text-decoration: none;
}

.backTop {
  width: 45px;
}

#bio {
  border-top: 3px solid #d02a2a;
}

#bio p {
  margin-top: 30px;
}

.section img {
  margin-top: 30px;
  width: 50%;
}

#ringBack span {
  line-height: 40px;
}

#videosContainer {
  background-color: #b7b7b7;
  width: 100%;
  padding: 10px 10px 60px 10px;
  position: relative;
}

.videoText {
  position: relative;
  z-index: 3;
  margin-top: 10px;
}

.video {
  position: relative;
  padding-bottom: 37%;
  padding-top: 0; 
  height: 0; 
  overflow: hidden;
  z-index: 3;
  margin: 0 auto;
}

.video embed,
.video object,
.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.arrows {
  position: absolute;
  top: 35%;
  z-index: 5;
  opacity: .25;
  cursor: pointer;
}

.arrows:hover {
  opacity: .75;
}

#rightArrow {
  right: 10px;
}

.arrows span {
  height: 100%;
  color: #000;
  font-family: "Varela Round", sans-serif;
  font-size: 5em;
  margin: 0 -10px 0px -10px
}

#boxes {
  position: relative;
  width: 60%;
}

.styleBoxes {
  width: 100%;
  height: 600px;
  opacity: 0.6;
  position: absolute;
  top: -130px;
  z-index: 1;
}

#redBox {
  transform: rotate(-40deg);
  -webkit-transform: rotate(-40deg);
  background-color: #d02a2a;
}

#whiteBox {
  transform: rotate(40deg);
  -webkit-transform: rotate(40deg);
  background-color: #ffffff;
}

#blackBox {
  transform: rotate(-20deg);
  -webkit-transform: rotate(-70deg);
  background-color: #000;
}

#gallery, #contact {
  position: relative;
  z-index: 3;
  padding: 60px 0;
}

.slider ul li {
  width: 20%;
  display: inline-block;
  margin-right: -4px;
}

#downloads {
  margin: 0 20px 20px 0;
}


#imagePopUp {
  position: relative;
  margin-top: 20px;
}

#imagePopUp img, #gallery img {
  cursor: pointer;
}

#contact form {
  margin: 1em auto;
}

#nameEmail {
  width: 45%;
}

#messageSubmit {
  width: 50%;
}

#footer {
  text-align: center;
  margin-top: 60px;
  padding: 15px 0;
  background-color: #7d1919;
}

#footer .social {
  width: 40px;
}

#footerLogo {
  width: 250px;
  border-top: 2px solid #6A1010;
  margin-top: 10px;
  opacity: .4;
}

@media ( max-width: 930px ) {
  .third, .two-third, .quarter, .half {
    width: 100%;
  }
  
  #header {
    min-height: auto;
  }
  
  #headerContent {
    width: 100%;
  }
  
  #nav ul li {
    padding: 7px;
  }
  
  .backTop {
    width: 30px;
  }
  
  .section img {
    width: 100%;
  }
  
  .section iframe {
    max-width: 100%;
  }
  
  #iranCell, #hamraheAval {
    float: none;
  }
  .styleBoxes {
    display: none;
  }
  
  #gallery, #contact {
    padding: 10px 0;
  }

  #nameEmail, #messageSubmit {
    width: 100%;
  }

}