/**
 * Notifications styles
 */

body.post-type-notification {

	.carriers-section-title {
		margin-top: 2em;
	}

	#carrier-boxes {

		.postbox {

			h2.hndle {
				cursor: auto;
			}

			.switch-container {
				float: right;
				height: 36px;
				margin: auto;
				text-align: center;

				&::before,
				&::after {
					clear: both;
					content: "";
					display: block;
				}

				.switch {
					background: #c5c5c5;
					border-radius: 1em;
					display: inline-block;
					float: left;
					font-size: 20px;
					height: 1em;
					margin-right: 10px;
					margin-top: 8px;
					width: 2em;

					div {
						background: #fff;
						border-radius: 1em;
						box-shadow: 0 0.1em 0.3em rgba(0, 0, 0, 0.3);
						height: 1em;
						-webkit-transition: all 300ms;
						-moz-transition: all 300ms;
						transition: all 300ms;
						width: 1em;
					}

				}

				input {
					display: none;

					&:checked + .switch {
						background: #7dcc4c;

						div {
							-webkit-transform: translate3d(100%, 0, 0);
							-moz-transform: translate3d(100%, 0, 0);
							transform: translate3d(100%, 0, 0);
						}
					}

				}

			}

			.inside {

				.form-table {

					@media ( max-width: 1200px ) {

						> tbody {

							> tr {

								> th,
								> td {
									display: block;
									padding: 10px 10px 5px 10px;
								}
							}
						}

					}
				}
			}

		}

	}

}
