/**
 * All of the CSS for your admin-specific functionality should be
 * included in this file.
 */
/* <fs_premium_only> */
 /* The Modal (background) */
.ratcw-modal.modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 9999; /* Sit on top */
	left: 0;
	top: 5%;
	top: 0;
	bottom:0;
	right:0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.ratcw-modal .modal-content {
	background-color: #fefefe;
	margin: 15% auto; /* 15% from the top and centered */
	padding: 20px;
	border: 1px solid #888;
	width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.ratcw-modal .close {
	float: right;
	font-size: 28px;
	font-weight: bold;
}

.ratcw-modal .close:hover,
.ratcw-modal .close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
} 
 /* Modal Header */
.ratcw-modal .modal-header {
	padding: 2px 16px;
	border-bottom: 1px solid black;
}

/* Modal Body */
.ratcw-modal .modal-body {padding: 2px 16px;}

/* Modal Footer */
.ratcw-modal .modal-footer {
	padding: 2px 16px;
	/*background-color: #5cb85c;*/
	color: white;
  
	border-top: 1px solid black;
}

/* Modal Content */
.ratcw-modal .modal-content {
	position: relative;
	background-color: #fefefe;
	margin: auto;
	padding: 0;
	border: 1px solid #888;
	width: 80%;
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
	animation-name: animatetop;
	animation-duration: 0.4s
}

/* Add Animation */
@keyframes animatetop {
	from {top: -300px; opacity: 0}
	to {top: 0; opacity: 1}
} 



/* Add styles to the form container */
.ratcw-modal .form-container {
	background-color: white;
}

/* Full-width input fields */
.ratcw-modal .form-container input[type=text], .ratcw-modal .form-container input[type=email], .ratcw-modal .form-container input[type=password], .ratcw-modal .form-container textarea {
	width: 97%;
	padding: 15px;
	margin: 5px 0 22px 0;
	border: none;
	background: #f1f1f1;
}

/* When the inputs get focus, do something */
.ratcw-modal .form-container input[type=text]:focus, .ratcw-modal .form-container input[type=password]:focus {
	background-color: #ddd;
	outline: none;
}

/* Set a style for the submit/login button */
.ratcw-modal .form-container .btn {
	background-color: #04AA6D;
	color: white;
	padding: 16px 20px;
	border: none;
	cursor: pointer;
	width: 100%;
	margin-bottom:10px;
	margin:10px 0;
	opacity: 0.8;
}

/* Add some hover effects to buttons */
.ratcw-modal .form-container .btn:hover, .ratcw-modal .open-button:hover {
	opacity: 1;
}
 
.ratcw-modal button img {
  max-width: 100%;
  position: absolute;
  width: 16px;
  height: 16px;
  padding-left: 10px;
  padding-top: 2px;
}

input.ratcw_required, 
textarea.ratcw_required {
	border: 1px solid #f00 !important;
}
#ratcw_msg_container{
	display:none;
	color:black;
	text-align: center;
	margin: 5px 0;
	border: 2px solid yellow;
}

@media screen and (max-width: 1024px) {
	.ratcw-modal .form-container input[type=text], .ratcw-modal .form-container input[type=email], .ratcw-modal .form-container input[type=password], .ratcw-modal .form-container textarea {
		width: 96%;
	}
}

@media screen and (max-width: 768px) {
	.ratcw-modal .form-container input[type=text], .ratcw-modal .form-container input[type=email], .ratcw-modal .form-container input[type=password], .ratcw-modal .form-container textarea {
		width: 95%;
	}
}

@media screen and (max-width: 600px) {
	.ratcw-modal .form-container input[type=text], .ratcw-modal .form-container input[type=email], .ratcw-modal .form-container input[type=password], .ratcw-modal .form-container textarea {
		width: 93%;
	}
}

@media screen and (max-width: 480px) {
	.ratcw-modal .form-container input[type=text], .ratcw-modal .form-container input[type=email], .ratcw-modal .form-container input[type=password], .ratcw-modal .form-container textarea {
		width: 91%;
	}
}
/* </fs_premium_only> */