/* Clean Modal */
.cl-modal {
	display: none;
	position: fixed;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 100%;
	min-width: 150px;
	
	z-index: 10002;
	overflow-y:auto;
	overflow-x:hidden;
}
.cl-content {
	height:100%;
	color: #000;
	background: #fff;
	position: relative;
	margin: 0 auto;
	
	display:table;
	width:100%;
	height:100%;
}
.cl-body {
	padding: 0;
	margin: 0;
	font-size: 16px;
	display:table-cell;
	/*vertical-align:middle;*/
	padding-top: 140px;
	width:100%;
	height: 100%;
}
.cl-close {
	width:55px;
	height:55px;
	border:rgba(71, 71, 71, 1) 2px solid;
	border-radius:500px;  
	margin-left: -34px;
	position:absolute;
	cursor:pointer;
	box-sizing:initial;
	-webkit-transition: all 0.2s;
	-moz-transition: all 0.2s;
	-ms-transition: all 0.2s;
	-o-transition: all 0.2s;
	transition: all 0.2s;
}
.cl-close:hover { 
	transform: rotate(90deg);
}
.cl-close span {
	position: absolute;
	display: inline-block;
	width: 30px;height: 2px;	  
	top: 27px; left: 12px;
}
.cl-close span::before, .cl-close span:after {
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	background-color: rgba(71, 71, 71, 1);left: 0;
	transition: transform 0.2s;
	/* Force hardware acceleration */
	-webkit-transform: translateZ(0); -webkit-backface-visibility: hidden;
}
.cl-close span::before {
	-webkit-transform: rotate(45deg);-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);-o-transform: rotate(45deg);transform: rotate(45deg);
	transition: transform 0.2s;
}
.cl-close span::after {
	-webkit-transform: rotate(-45deg);-moz-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);-o-transform: rotate(-45deg);transform: rotate(-45deg);
	transition: transform 0.2s;
}
.animated { 
    -webkit-animation-duration: 1s; 
    animation-duration: 1s; 
    -webkit-animation-fill-mode: both; 
    animation-fill-mode: both; 
} 
@-webkit-keyframes bounceIn { 
    0% {opacity: 0;-webkit-transform: scale(.3);} 
    50% {opacity: 1;-webkit-transform: scale(1.05);} 
    70% {-webkit-transform: scale(.9);} 
    100% {-webkit-transform: scale(1); visibility:visible;} 
} 
@keyframes bounceIn { 
    0% {opacity: 0; transform: scale(.3);} 
    50% {opacity: 1; transform: scale(1.05);} 
    70% {transform: scale(.9);} 
    100% {transform: scale(1); visibility:visible;} 
} 
.bounceIn { 
	-webkit-animation-name: bounceIn; 
	animation-name: bounceIn; 
}
@-webkit-keyframes bounceOut { 
    0% {-webkit-transform: scale(1);} 
    25% {-webkit-transform: scale(.95);} 
    50% {opacity: 1;-webkit-transform: scale(1.1);} 
    100% {opacity: 0;-webkit-transform: scale(.3); visibility:hidden;} 
} 
@keyframes bounceOut { 
    0% {transform: scale(1);} 
    25% {transform: scale(.95);} 
    50% {opacity: 1;transform: scale(1.1);} 
    100% {opacity: 0;transform: scale(.3); visibility:hidden;} 
} 
.bounceOut { 
    -webkit-animation-name: bounceOut; 
    animation-name: bounceOut; 
}

.cl-modal-video {background: rgba(0,0,0,0);overflow: hidden;}
.cl-media-overlay {position:absolute;background:rgba(0,0,0,0.9);width:100%;height:100%;top:0;left:0;}

/* Clean Form */
.cl-form {
	max-width:1000px;
	margin:0 auto;
	padding:40px;
}
.cl-form.no-padding {
	max-width:1000px;
	margin:0 auto;
	padding:0;
}
.cl-form input[type=text], .cl-form input[type=password], .cl-form textarea {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height:63px;
	border: #D2D2D2 1px solid;
	margin: 7px 0;
	padding: 0px 15px;
	font-size: 20px; /* 25px */
	color:#000;
	line-height: 1; 
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.cl-form textarea {
    padding: 15px;
    line-height: 1.2;
}
.cl-form input[type=text]:focus, .cl-form input[type=password]:focus, .cl-form textarea:focus {
	/*border:#7E7E7E 1px solid;*/
}

.cl-form input[type=file] {
	display: block;
	box-sizing: border-box;
	width: 100%;
	margin: 7px 0;
	font-size: 16px;
	text-transform: uppercase;
    letter-spacing: 3px;	
	line-height: 1; 
}
.cl-form select {
	padding: 17px;
	margin: 7px 0;
	font-size: 16px;
	letter-spacing: 1px;
	height: 63px;
	line-height: 1.7;
	color: #000000;
	border: #D2D2D2 1px solid;
}

.cl-form .cl-title {
	font-size: 35px;
	text-align: center;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.cl-form h1 {font-size: 2.7em;}
.cl-form h2 {font-size: 2.37em;}
.cl-form h3 {font-size: 1.73em;}
.cl-form h4 {font-size: 1.39em;}
.cl-form h5 {font-size: 1.1em;}
.cl-form h6 {font-size: 0.98em;}
.cl-form label {	
	display: block;  
	margin: 25px 0 15px;
	font-size: 20px;
	line-height: 1;	
	letter-spacing:1px;
}
.cl-form .inline {	
	display: block; 
	margin: 25px 0 15px;
}
.cl-form .inline label {	
	display: inline; 
	margin-left: 10px;
}

.cl-form button.inline {
	width:auto;
	min-width:150px;
	display:inline-block;
}  
        
/* Tabs */
.cl-tab {
	padding:10px 22px;border-radius:30px;font-size: 19px;text-decoration:underline;color:#333;cursor:pointer;margin-right:15px
}
.cl-tab.active {
	background:#2C2C2C;color:#fff;text-decoration:none;cursor:default;
}

/* Confirmation Text */
.cl-confirm-text {  
	font-size: 22px;
	text-align: center;
}

/* Message */
.cl-message {
    display:block;
    box-sizing: border-box;
	font-size: 22px;
	letter-spacing: 1px;
	padding: 20px 20px 22px 30px;
	margin: 20px 0;
}
.cl-message.success {
	color: #00BBD2;
	border: #1DCFE5 1px solid;
	background: #F4FCFF;	
}
.cl-message.error {
	color: #D25D08;
	border: #DF8544 1px solid;
	background: #FCF7F4;
}

/* Validation Error */
.cl-form input[type=text].error, .cl-form input[type=password].error, .cl-form textarea.error {
	border:#DF8544 1px solid;
}

/*  */
.cl-nav > * {
	display: inline-block;
	margin: 0 10px;
	font-size: 16px;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.cl-nav.footer > * {
	font-size: 15px;
}

/* Buttons */
.cl-button {
    padding: 0 20px;
    font-size: 14px;
    line-height: 35px;
    height: 35px;
      
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    border-radius: 4px;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;   
}

.cl-button-large {
    padding: 0 30px;
    font-size: 15px;
    line-height: 45px;
    height: 45px;
}

.cl-button-small {
    padding: 0 10px;
    font-size: 12px;
    line-height: 25px;
    height: 25px;
}

.cl-button-full {
    width:100%;
    height:50px;
    line-height:50px;
    margin:0;
    padding:0;
}

.cl-button.uppercase {
    font-size: 11px;
    text-transform: uppercase;
}
.cl-button-large.uppercase {
    font-size: 14px;
    text-transform: uppercase;
}
.cl-button-small.uppercase {
    font-size: 10px;
    text-transform: uppercase;
}

.cl-form input[type=submit] {
	padding: 0px 35px;
	font-size: 15px;
	line-height:63px;
	height:63px;
	margin: 7px 0;
	
	display: block;
	width: 100%;
	text-transform: uppercase;
    letter-spacing: 3px;
    box-sizing: border-box;
}

.cl-button {color: #333333;background-color: #eeeeee;}
.cl-button:hover {color: #111;background-color: #f5f5f5;}
.cl-button-primary {color: #ffffff;background-color: #08c9b9;}
.cl-button-primary:hover {color: #ffffff;background-color: #07b0a2;border-color: #07b0a2;}

.cl-link-button {text-transform:uppercase;text-decoration:none;font-size:13px;letter-spacing:1px;}

/* Others */
.nopadding {padding:0 !important;margin:0 !important}
:focus {outline: none;}
.clearfix:before, .clearfix:after {content: " ";display: table;}
.clearfix:after {clear: both;}
.clearfix {*zoom: 1;}

/* Simple Grid */
.col-left {
	float:left;width:50%;padding:0 5px 0 0;box-sizing:border-box;
}
.col-right {
	float:left;width:50%;padding:0 0 0 5px;box-sizing:border-box;
}

.col3-1 {
	float:left;width:33.3%;padding:0 5px 0 0;box-sizing:border-box;
}
.col3-2 {
	float:left;width:33.3%;padding:0 5px 0 5px;box-sizing:border-box;
}
.col3-3 {
	float:left;width:33.3%;padding:0 0 0 5px;box-sizing:border-box;
}

@media all and (max-width: 640px) {
    .col-left, .col-right {
	    width:100%;padding:15px 0;
    }
    .col3-1, .col3-2, .col3-3 {
	    width:100%;padding:15px 0;
    }
}

/* Simple Modal - Inspired by modalEffects.js from http://www.codrops.com */
.md-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 90%;
	/*max-width: 630px;*/
	min-width: 150px;
	height: auto !important;
	z-index: 10002;
	visibility: hidden; display: none;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
	border-radius:5px;
    -webkit-box-shadow: 0 4px 23px 0 rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 4px 23px 0 rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.15);
    box-shadow: 0 4px 23px 0 rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.15);
}

.md-modal.md-draggable {
	-webkit-transform: none;
	-moz-transform: none;
	-ms-transform: none;
	transform: none;
}

.md-show {
	visibility: visible; display: block;
}

.md-overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	visibility: visible; display: block;
	opacity: 1;
	top: 0;
	left: 0;
	z-index: 10001;	
	/*background: rgba(255, 255, 255, 0.8);*/
	background: rgba(0, 0, 0, 0.15);
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.md-content {
	color: #000;
	background: #fff;
	position: relative;
	border-radius: 5px;
	margin: 0 auto;
	overflow: hidden; /*new: to make border-radius applied on iframe scrollbar */
}

.md-body {
	padding: 0;
	margin: 0;
	font-size: 13px;
   border-top-left-radius: 5px;
   border-top-right-radius: 5px;
}

.md-modal .md-title {font-size:20px;text-align:center;}
.md-modal .is-boxes {min-height:inherit}
.md-modal .is-box-2 {height:inherit;min-height:inherit;padding:5px;}
.md-modal .is-box-3 {height:inherit;min-height:inherit;padding:5px;}
.md-modal .is-box-4 {height:inherit;min-height:inherit;padding:5px;}
.md-modal .is-box-6 {height:inherit;min-height:inherit;padding:5px;}
.md-modal .is-box-12 {height:inherit;min-height:inherit;padding:5px;}
.md-footer {border-top-left-radius:0;border-top-right-radius:0;}
