/* Styles for dialog window */
#small-dialog,#small-dialog2{
	background: #1b4287; /* Old browsers */
background: -moz-linear-gradient(top,  #1b4287 22%, #137566 96%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(22%,#1b4287), color-stop(96%,#137566)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #1b4287 22%,#137566 96%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #1b4287 22%,#137566 96%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #1b4287 22%,#137566 96%); /* IE10+ */
background: linear-gradient(to bottom,  #1b4287 22%,#137566 96%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1b4287', endColorstr='#137566',GradientType=0 ); /* IE6-9 */
	padding: 40px 0px 0px 0px;
	text-align: left;
	max-width: 295px;
	margin: 9% auto;
	position: relative;
	text-align: center
}
#small-dialog-it,#small-dialog-in,#small-dialog-fr,#small-dialog-sh,#small-dialog-sf,#small-dialog-su,#small-dialog-me,#small-dialog-ch,#small-dialog-pi,#small-dialog-am {
	background: white;
	padding:20px;
	text-align: left;
	max-width: 450px;
	margin: 40px auto;
	position: relative;
	text-align:center;
}
a.play-icon.popup-with-zoom-anim img:hover {
	opacity: 0.5;
	transition:0.5s all;
	-webkit-transition:0.5s all;
	-o-transition:0.5s all;
	-moz-transition:0.5s all;
	-ms-transition:0.5s all;
}
.portfolio-items{
	text-align:center;
	margin:0 auto;
}
.portfolio-items img{
	width:100%;
}
.portfolio-items h4{
	margin:1em 0;
	font-size:25px;
	color:#a63d56;
}
.portfolio-items p{
	text-align:justify;
}
/**

/**
 * Fade-zoom animation for first dialog
 */

/* start state */
.my-mfp-zoom-in #small-dialog {
opacity: 0;
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
-webkit-transform: scale(0.8);
-moz-transform: scale(0.8);
-ms-transform: scale(0.8);
-o-transform: scale(0.8);
transform: scale(0.8);
}
/* animate in */
.my-mfp-zoom-in.mfp-ready #small-dialog {
opacity: 1;
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
}
/* animate out */
.my-mfp-zoom-in.mfp-removing #small-dialog {
-webkit-transform: scale(0.8);
-moz-transform: scale(0.8);
-ms-transform: scale(0.8);
-o-transform: scale(0.8);
transform: scale(0.8);
opacity: 0;
}
/* Dark overlay, start state */
.my-mfp-zoom-in.mfp-bg {
opacity: 0;
-webkit-transition: opacity 0.3s ease-out;
-moz-transition: opacity 0.3s ease-out;
-o-transition: opacity 0.3s ease-out;
transition: opacity 0.3s ease-out;
}
/* animate in */
.my-mfp-zoom-in.mfp-ready.mfp-bg {
opacity: 0.8;
}
/* animate out */
.my-mfp-zoom-in.mfp-removing.mfp-bg {
opacity: 0;
}
/**
/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8;
  filter: alpha(opacity=80); }

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden; }

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.mfp-align-top .mfp-container:before {
  display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045; }

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto; }

.mfp-ajax-cur {
  cursor: progress; }

.mfp-zoom-out-cur,
.mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out; }
.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in; }

.mfp-auto-cursor .mfp-content {
  cursor: auto; }

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none; }

.mfp-loading.mfp-figure {
  display: none; }

.mfp-hide {
  display: none !important; }
.mfp-content iframe{
	width:100%;
	min-height:500px;
}
.mfp-preloader {
  color: #cccccc;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044; }

.mfp-preloader a {
  color: #cccccc; }

.mfp-preloader a:hover {
  color: white; }

.mfp-s-ready .mfp-preloader {
  display: none; }

.mfp-s-error .mfp-content {
  display: none; }

button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  border: 0;
   background:#FFF;
  -webkit-appearance: none;
  display: block;
  padding: 0;
  z-index: 1046; }
button::-moz-focus-inner {
  padding: 0;
  border: 0; }

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
 right: 0px;
	top: 0px;
  text-decoration: none;
  text-align: center;
  padding: 0 0 18px 10px;
  color: white;
  font-style: normal;
  font-size: 28px;
  outline:none;
  font-family: 'Open Sans', sans-serif;		
 }
  .mfp-close:hover, .mfp-close:focus {
    opacity: 1; }

.mfp-close-btn-in .mfp-close {
  color: #fff; 
  background: rgb(33,175,107); /* Old browsers */
background: -moz-linear-gradient(top,  rgba(33,175,107,1) 12%, rgba(37,141,200,1) 76%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(12%,rgba(33,175,107,1)), color-stop(76%,rgba(37,141,200,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(33,175,107,1) 12%,rgba(37,141,200,1) 76%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(33,175,107,1) 12%,rgba(37,141,200,1) 76%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(33,175,107,1) 12%,rgba(37,141,200,1) 76%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(33,175,107,1) 12%,rgba(37,141,200,1) 76%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#21af6b', endColorstr='#258dc8',GradientType=0 ); /* IE6-9 */
  }

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: white;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%; 
}
.signup {
	position: relative;
	padding: 2em;
	right: 0.2em;
}
.login h3,.signup h3{
	margin: 0;
	color: #fff;
	text-align: left;
	position: absolute;
	top: 7px;
	left: 34px;
}
.login h3, .signup h4  a{
	text-align: right;
	position: absolute;
	margin: 0;
	top: 7px;
	right: 34px;
	text-decoration: none;
	color: #fff;
}
.login input[type="text"],.login input[type="password"]{
	width:90%;
	padding:5px;
	margin:3px 0;x
	border: 1px solid #a63d56;
	outline: none !important;
}
.signup input[type="text"]{
	width: 44.5%;
	padding: 5px;
	margin: 10px 0;
	outline: none;
	background: #EBEBEB;
	border: solid 1px #222;
}
.signup input.email[type="text"],.signup input[type="password"]{
	width: 90%;
	padding: 10px;
	background: #FFF;
	margin: 15px 0;
	outline: none;
	color: #817F7F;
	border: none;
	-moz-border-radius: 7px;
	-o-border-radius: 7px;
	-ms-border-radius: 7px;
	border: 1px solid#999;
}
.signup input.email[type="text"]:hover, .signup input[type="password"]:hover {
border-color: #294072;
}
.login input[type="submit"],.signup input[type="submit"]{
	background: #00ae55;
	border: 0px;
	padding: 11px 0;
	margin: 10px 0px;
	outline: none;
	font-size: 16px;
	color: #fff;
	text-transform: uppercase;
	width: 95%;
	-webkit-appearance: none;
	position: relative;
	cursor: pointer;
}
.login input[type="submit"]:hover,.signup input[type="submit"]:hover{
	background: #3498DB;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}
@media all and (max-width:480px){
	.comments-area textarea{
		height:100px;
	}
	.login input[type="submit"], .signup input[type="submit"] {
		font-size: 14px;
		width: 20%;
	}
}
@media all and (max-width:320px){
	.comments-area span.label,.comments-area span.text-field{
		float:none;
		width:100%;
	}
	.comments-area span{
		padding-bottom:3px;
	}
	#small-dialog{
		padding:15px;
	}
	.comments-area input[type="text"], .comments-area textarea{
		width:92%;
	}
	.comments-area div{
		padding:2px 0;
	}
	.mfp-content iframe{
		width:100%;
		min-height:250px;
	}
	.login input[type="submit"], .signup input[type="submit"] {
		font-size: 12px;
		width: 29%;
	}
	.signup input[type="text"] {
		width: 90%;
	}
	.login h3, .signup h3 {
		top: 7px;
		left: 25px;
		font-size: 18px;
	}
	.login h3, .signup h4 a {
		top: 7px;
		right: 19px;
		font-size: 18px;
	}
	.signup {
		padding: 1em;
	}
} 
