/*
 * Name: Mark's Technology News Comment Form
 * Description: The stylesheet for the custom iframe comment form on post pages at http://www.markstechnologynews.com
 * Author: Mark's Technology News
 * Version 1.0
 * Copyright (c) 2018 Mark's Technology News
 */

html {
	font-family: sans-serif;
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
	font-family: Montserrat, "Helvetica Neue", sans-serif;
	color: #1a1a1a;
	background-color: #ffffff;
}

html, body {
	padding: 0;
	margin: 0;
}

iframe {
	width: 100%;
	height: 80px;
	padding: 0;
	margin: 0;
}

h2 {
	margin-top: 25px;
}

.comment-notes {
	color: #999;
	font-size: 0.9em;
}

.required {
	color: red;
}

form {
	margin-top: 25px;
}

#success {
	background-color: #eee;
	border: 1px solid #ddd;
	padding: 40px 40px 30px;
	margin: 10px 0 0;
}

#success h2 {
	font-size: 1.4em;
}

#error {
	background-color: #FFEBE8;
	border: 2px solid #DD3C10;
	padding: 12px 15px 15px;
	margin: 0 0 35px;
}

#success, #error {
	font-size: 16px;
	color: #333;
	-webkit-border-radius: 4px; /* Safari 3-4, iOS 1-3.2, Android 1.6- */
	-moz-border-radius: 4px; /* Firefox 1-3.6 */
	border-radius: 4px; /* Opera 10.5, IE 9, Safari 5, Chrome, Firefox 4, iOS 4, Android 2.1+ */
}

.form-control {
	display: block;
	width: 100%;
	height: 43px;
	padding: 10px 15px;
	line-height: 1.42857143;
	color: #2c3e50;
	background-color: #ffffff;
	background-image: none;
	border: 1px solid #dce4ec;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	-webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.form-control:focus {
	border-color: #2c3e50;
	outline: 0;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(44, 62, 80, 0.6);
	box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(44, 62, 80, 0.6);
}

.form-control::-moz-placeholder,
.form-control:-ms-input-placeholder,
.form-control::-webkit-input-placeholder {
	color: #acb6c0;
	font-weight: normal !important;
}

.form-control::-moz-placeholder {
	opacity: 1;
}

textarea.form-control {
	height: auto;
}

.form-control, input, textarea {
	font-family: Montserrat, "Helvetica Neue", sans-serif;
	font-size: 0.8em; /* Must define the font size for Firefox (Quantum), otherwise the textarea text will be larger than the text in the input fields. Not an issue in Chrome. */
	border-width: 2px;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.form-control:focus, input:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
}

.form-group {
	margin-bottom: 30px;
}

#comment {
	font-family: Montserrat, "Helvetica Neue", sans-serif;
	color: #1a1a1a;
	margin: 0 auto 0px;
}

label {
	display: inline-block;
	margin-bottom: 5px;
	font-weight: bold;
	font-size: .9em; /* Important for reducing the default font size. */
}

.has-error, .has-error:focus {
	border: 2px solid #e74c3c;
}

.has-success, .has-success:focus {
	border: 2px solid #55AB55;
}

/* Hide error text */
#comment-name-error,
#comment-email-error,
#comment-text-error {
	margin-top: 5px;
	margin-bottom: 10px;
	font-size: 0.9em; /* Important for error message font size. */
	color: #e74c3c;
	display: none;
}

/* Comment styling after iframe form submission, whilst awaiting moderation */

.comment-box {
    margin-top: 10px;
    border: 1px solid #EEE;
}

.comment-box-text {
	font-family: verdana, tahoma, arial, sans-serif;
    color: #666;
    font-size: 1em;
    line-height: 1.6em;
    margin: 4px 9px 7px 9px;
}

/* Base button styling */

.button {
	display: inline-block;
	margin-bottom: 0;
	color: #333333;
	text-align: center;
	vertical-align: middle;
	background-color: #f5f5f5;
	background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
	background-image: -ms-linear-gradient(top, #ffffff, #e6e6e6);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
	background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
	background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
	background-image: linear-gradient(top, #ffffff, #e6e6e6);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6')\9;
	border-color: #e6e6e6 #e6e6e6 #bfbfbf;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
	border: 1px solid #ccc;
	border-bottom-color: #bbb;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
	-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
	cursor: pointer;
	*margin-left: .3em;
}

.button:hover {
	color: #333333;
	text-decoration: none;
	background-color: #e6e6e6;
	background-position: 0 -15px;
	-webkit-transition: background-position 0.1s linear;
	-moz-transition: background-position 0.1s linear;
	-ms-transition: background-position 0.1s linear;
	-o-transition: background-position 0.1s linear;
	transition: background-position 0.1s linear;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#d6d6d6')\9;
}

.button,
.button:hover {
	text-shadow: 0 0 0 rgba(0, 0, 0, 1);
}

.button:focus {
	outline: thin dotted #333;
	outline: 5px auto -webkit-focus-ring-color;
	outline-offset: -2px;
}

/* Custom button styling */

#comment-button {
	line-height: normal;
	font-weight: normal;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	text-decoration: none;
	font-size: 18px;
	color: #fff !important;
	margin: 0;
	width: 100%;
	height: 48px; /* Important for correct button height in modern Opera with Roboto font */
}

.green-button:active {
	background-image: none;
	-webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
	-moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
	background-color: #e6e6e6;
	background-color: #d9d9d9 \9;
	outline: 0;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#c6c6c6')\9;
}

/* Green button color */

.green-button,
.green-button:hover {
	color: #fff;
}

.green-button {
	background-color: #5bb75b;
	background-image: -moz-linear-gradient(top, #62c462, #51a351);
	background-image: -ms-linear-gradient(top, #62c462, #51a351);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351));
	background-image: -webkit-linear-gradient(top, #62c462, #51a351);
	background-image: -o-linear-gradient(top, #62c462, #51a351);
	background-image: linear-gradient(top, #62c462, #51a351);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#51a351')\9;
	border-color: #51a351 #51a351 #387038;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}

.green-button:hover,
.green-button:active {
	background-color: #51a351;
	background-color: #408140 \9;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#328732')\9;
}