/* -------------------------------------------------------------------// CONSTANT TAG STYLES// ------------------------------------------------------------------*/
* {
	margin : 0;
	padding : 0;
	list-style : none;
	font-family : arial, helvetica, sans-serif;
    font-size: 14px;
}
body {
	background : #fbfbfb;
}
h1, h2, h3, h4, h5, h6, p {
	color : #464646;
	font-weight: normal;
}
h1 {
	font-size : 24px;
}
h2 {
	font-size : 18px;
}
h3 {
	font-size : 14px;
	margin : 0 0 10px 0;
}
h4 {
	font-size: 14px;
	font-weight: bold;
	padding: 10px 0;
	color: #21759B;
}
p {
	margin : 10px 0;
	font-size: 16px;
}
a {
	color : #21759B;
	text-decoration : none;
	cursor : pointer;
}
ul {
	list-style : none;
	font-size : .9em;
}
hr {
	border: 0;
	height: 1px;
	background-image: -webkit-linear-gradient(left, #fff, #ccc 20%, #fff);
	background-image: -moz-linear-gradient(left, #fff, #ccc 20%, #fff);
	background-image: -ms-linear-gradient(left, #fff, #ccc 20%, #fff);
	background-image: -o-linear-gradient(left, #fff, #ccc 20%, #fff);
}
/* -------------------------------------------------------------------// CONSTANT CLASS STYLES// ------------------------------------------------------------------*/
.clear {
	clear : both;
}
.fl {
	float : left;
}
.fr {
	float : right;
}
.bottom {
	position : absolute;
	bottom : 0;
	width : 100%;
	height : 10px;
}
.red {
	color : #ff0000;
}
.blue {
	color : #4d91c5;
}
.alert {
	display : block;
	padding : 3px 8px;
	background : #ff0000;
	color : #fff;
	border-radius : 20px;
	-moz-border-radius : 20px;
	-webkit-border-radius : 20px;
	font-weight : bold;
	margin : auto;
}
.inline li {
	float : left;
}
.block {
	display : block;
}
.hidden {
	display : none;
}
.smallText {
	font-size : 11px;
}
.bold {
	font-weight : bold;
}
.tick {
	width: 15px;
	height: 14px;
	background: url('/assets/img/admin_design/tick_cross.png') no-repeat 0 0;
}
.cross {
	width: 15px;
	height: 14px;
	background: url('/assets/img/admin_design/tick_cross.png') no-repeat -15px 0;
}
.loading {
	display: block;
	width: 35px;
	height: 35px;
	margin: 30px auto 20px auto;
}
.html_editor {
	width: 708px;
	border: 1px solid #ccc;
}
.w_25 {
	width: 25%;
}
.w_75 {
	width: 75%;
}
.w_100 {
    width: 100%;
}
.col_1 {
	width: 100%;
}
.col_2 {
	width: 50%;
	float: left;
}
.col_3 {
	width: 30%;
	float: left;
}
.botwm {
    font-size: 18px;
}
.gweithredu_botwm,
.botwm_glas {
    display: inline-block;
    padding: 10px;
    background-color: #0fa8ba;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.gweithredu_botwm:hover,
.botwm_glas:hover {
    background-color: #e7a657;
}
.gweithredu_botwm svg,
.botwm_glas svg {
    width: 1em;
    height: 1em;
    vertical-align: middle;
    fill: currentColor;
    margin-top: -0.25em;
    margin-right: 0.25em;
}
/* -------------------------------------------------------------------// PAGE OVERLAY STYLES// ------------------------------------------------------------------*/
.overlay {
	position : fixed;
	top : 0;
	left : 0;
	width : 100%;
	height : 100%;
	background : rgb(0, 0, 0);
	/* Fallback for web browsers that doesn't support RGBa */
	background : rgba(0, 0, 0, 0.6);
	/* RGBa with 0.6 opacity */
	filter : progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);
	/* For IE 5.5 - 7*/
	-ms-filter : "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";
	/* For IE 8*/
	z-index : 1000;
	overflow-y: scroll;
}
.overlay_hidden {
	display: none;
}
.overlay_inner {
	margin : 200px auto;
	padding : 20px;
	width : 350px;
	background : #fff;
	position: relative;
}
.overlay_inner_large {
	margin : 70px auto;
	padding : 20px;
	width : 700px;
	background : #fff;
}
.overlay_inner_large .scrollable {
	overflow-x: hidden;
	overflow-y: scroll;
	height: 300px;
	border: 1px solid #ccc;
}
.overlay_inner_form {
	margin : 70px auto;
	padding : 20px;
	width : 950px;
	background : #fff;
}
.overlay_inner_form .scrollable {
	overflow-x: hidden;
	overflow-y: scroll;
	height: 400px;
	border: 1px solid #ccc;
	padding: 10px;
}
.overlay_form {
    background: #fff;
    box-sizing: border-box;
    position: absolute;
    top: 50px;
    left: 50px;
    right: 50px;
    bottom: 50px;
}
.overlay_form .bar_teitl {
    height: 60px;
    background: #e7a657;
}
.overlay_form .bar_teitl h2 {
    font-size: 26px;
    padding: 15px 20px;
    color: #fff;
}
.overlay_form .bar_teitl h2 #h2_placeholder {
    font-size: 26px;
    padding-right: 20px;
}
.overlay_form .bar_teitl h2 a {
    color: #fff;
    opacity: 0.6;
    transition: opacity 0.3s;
}
.overlay_form .bar_teitl h2 a:hover {
    opacity: 1;
}
.overlay_form .cynnwys_ffurflen {
    overflow: auto;
    position: absolute;
    top: 60px;
    bottom: 0;
    left: 0;
    right: 0;
}
.overlay_title {
	font-size : 18px;
	margin : 0 0 10px 0;
	display : block;
	color : #464646;
}

.overlay .img-set {
	padding : 5px;
	margin : 0 10px 0 0;
	background : #e5e5e5;
}
.overlay .img-set:hover,
.overlay .img-set-selected {
	background : #ccc;
}
.overlay .min-thumb {
	width : 90px;
	height : 90px;
}
#overlay_close {
	position: absolute;
    top: 0;
    right: 0;
    display: inline-block;
    width: 60px;
    height: 60px;
    overflow: hidden;
    padding: 0;
    box-sizing: border-box;
    border: none;
    background: none;
}
#overlay_close.small{
	width: 40px;
    height: 40px;
}
#overlay_close:before,
#overlay_close:after {
    content: '';
    position: absolute;
    height: 4px;
    width: 60%;
    top: 50%;
    left: 20%;
    margin-top: -2px;
    background-color: #fff;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
#overlay_close.dark:before,
#overlay_close.dark:after {
	background-color: #777;
}
#overlay_close:hover:before,
#overlay_close:hover:after {
    background-color: #000;
}
#overlay_close:before {
    transform: rotate(45deg);
}
#overlay_close:after {
    transform: rotate(-45deg);
}
.overlay_form .form_block {
    padding: 20px;
}
#pop_ffurflen {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
}
#pop_ffurflen.view {
    display: flex;
}
#pop_ffurflen_cynnwys {
    background: #fff;
    margin: auto;
    padding: 15px;
    position: relative;
    min-width: 400px;
}
#wait_icon {
	display: none;
	position: absolute;
	top: 0;
    bottom: 0;
	right: 0;
    left: 0;
	background: rgba(255, 255, 255, 0.8);
}
#wait_icon img {
	position : absolute;
	top: 40%;
	left: 45%;
}
#please_wait {
	padding: 10px;
	text-align: center;
}
.no_scroll {
	overflow: hidden;
}
/*------------------------------------------------------------------------------Full page fixed scrollable Overlay Form------------------------------------------------------------------------------*/
.overlay_fixed_full {
	padding: 0;
	position: fixed;
	left: 5%;
	width: 90%;
	bottom: 5%;
	top: 0%;
	height: 90%;
	overflow: hidden;
}
.overlay_fixed_full .list_form h2 {
	padding: .5em;
	height: 40px;
	background: rgba(0,0,0,0.1);
	box-sizing: border-box;
}
.overlay_fixed_full #page_edit_container {
	display: grid;
	grid-template-columns: 75% 25%;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 40px;
}
.overlay_fixed_full .list_form,
.overlay_fixed_full .scrollable,
.overlay_fixed_full #page_edit_container .page_edit_container_child {
    height: 100%;
    padding: 0;
}
.overlay_fixed_full #page_edit_container #page_meta {
	box-sizing: border-box;
	padding: 1em;
}
.overlay_fixed_full #page_edit_container #page_meta .label_block {
	width: 100%;
	box-sizing: border-box;
}
.overlay_fixed_full #page_edit_container #page_meta .text_input,
.overlay_fixed_full #page_edit_container #page_meta .text_select {
	box-sizing: border-box;
	padding: 5px;
	margin: 5px 0;
	width: 100%;
}
.overlay_fixed_full #page_edit_container #page_meta .submit,
.overlay_fixed_full #page_edit_container #page_meta .cancel {
	width: 100%;
}

#template_editor {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
}

/**
    BAR OCHR
*/
#bar-ochr {
    position: fixed;
    width: 190px;
    top: 0;
    bottom: 0;
    left: 0;
    background-color: #303030;
    z-index : 101;
}
#bar-ochr #nav-trigger {
    display: none;
}
#bar-ochr #logo {
    display: block;
    width: 100%;
    height: 69px;
    border-bottom: 1px solid #9c9c9c;
    padding: 9px 15px;
    box-sizing: border-box;
}
#bar-ochr #logo img {
    width: 50px;
    height: 50px;
    float: left;
}
#bar-ochr #logo #logo-text {
    color: #fff;
    display: block;
    float: right;
    width: 100px;
    margin-top: 4px;
    font-size: 1.3em;
    line-height: 1.2em;
}

#bar-ochr nav a {
    display: block;
    width: 100%;
    padding: 20px 20px 20px 60px;
    color: #f1f1f2;
    background-repeat: no-repeat;
    background-position-y: center;
    background-position-x: 15px;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
    border-bottom: 1px solid #474747;
}
#bar-ochr nav a:hover {
    background-color: #454545;
}
#bar-ochr nav a.selected {
    background-color: #0fa8ba;
}
#bar-ochr nav a.nav-dashfwrdd {
    background-image: url('/assets/img/admin_design/nav-dashboard.png');
}
#bar-ochr nav a.nav-cyfathrebu {
    background-image: url('/assets/img/admin_design/nav-cyfathrebu.png');
}
#bar-ochr nav a.nav-defnyddwyr {
    background-image: url('/assets/img/admin_design/nav-defnyddwyr.png');
}
/*------------------------------------------------------------------------------Admin bar along top------------------------------------------------------------------------------*/
#admin_bar {
	position : fixed;
	top : 0;
	left : 190px;
    right : 0;
    height : 69px;
	color : #ccc;
	background: #d7d7d8;
    border-bottom: 1px solid #9c9c9c;
    box-sizing: border-box;
	z-index : 100;
}
#admin_bar h1 {
    margin-top: 20px;
    margin-left: 20px;
}
#admin_bar #user_nav {
	position: fixed;
    top: 0;
    right: 0;
    height: 69px;
	font-size: 14px;
    text-align: right;
}
#admin_bar #user_nav #user_menu {
    height: 100%;
}
#admin_bar #user_nav #user_toggle {
    display: block;
    height: 100%;
    padding: 25px;
    color: #464646;
    font-size: 1.2em;
    box-sizing: border-box;
}
#admin_bar #user_nav #user_options {
	display: none;
	border-top: 1px solid #9c9c9c;
    margin: -10px 20px 0 0;
    width: 200px;
    border-radius: 5px;
    border: 1px solid #9c9c9c;
    background: #fefefe;
}
#admin_bar #user_nav #user_options a {
	display: block;
	padding: 15px;
    text-align: center;
}
#admin_bar #user_nav #user_options a:hover {
	background: #eaf2fa;
}
/*------------------------------------------------------------------------------Main page wrapper------------------------------------------------------------------------------*/
#page_wrapper {
	padding: 70px 0 0 190px;
    width: 100%;
    box-sizing: border-box;
}

/*------------------ Page Navigation -----------------------------------------*/
#page_wrapper #page_nav {
    background: #f0f0f0;
}
#page_wrapper #page_nav a {
    display: inline-block;
    padding: 20px 20px 10px;
    border-bottom: 4px solid #f0f0f0;
    transition: border-bottom 0.3s ease;
    font-size: 1.2em;
}
#page_wrapper #page_nav a:hover {
    border-bottom: 4px solid #cdcdcd;
}
#page_wrapper #page_nav a.selected {
    border-bottom: 4px solid #efa551;
}
/*------------------------------------------------------------------------------Page Contents------------------------------------------------------------------------------*/
#page_wrapper #page_content {
	padding : 15px;
	width : 100%;
	background : #fff;
    box-sizing: border-box;
}
/*------------------------------------------------------------------------------Dashboard Page------------------------------------------------------------------------------*/
.dash_row {
	width: 100%;
	overflow: auto;
}
.dash_col {
	float: left;
	width: 50%;
}
.dash_container {
	margin: 0 20px 20px 0;
	background: #fff;
	border: 1px solid #dfdfdf;
	box-shadow: 0 0 3px #bbb;
	-moz-box-shadow: 0 0 3px #bbb;
	-webkit-box-shadow: 0 0 3px #bbb;
}
.dash_container header {
	padding: 12px 20px;
	border-bottom: 1px solid #ebebeb;
}
.dash_container .dash_list .dash_list_head {
	overflow: auto;
	padding: 4px 20px;
	border-bottom: 1px solid #ebebeb;
	color: #878787;
}
.dash_container .dash_list .dash_list_head li {
	display: block;
	float: left;
}
.dash_container .dash_list .dash_list_row {
	overflow: auto;
	padding: 4px 20px;
	border-bottom: 1px solid #ebebeb;
	color: #333;
}
.dash_container .dash_list .dash_list_row li {
	display: block;
	float: left;
}
/*------------------------------------------------------------------------------List Table------------------------------------------------------------------------------*/
.list_table {

}
.list_table .list_head {
    font-weight: bold;
	color : #464646;
	background-color : #f0f0f0;
    padding: 5px 0;
}
.list_table .list_row {
	color : #21759B;
	text-decoration : none;
	border-top : 1px solid #ccc;
    background-color: #fff;
    transition: background-color 0.3s ease;
}
.list_table .list_row:nth-child(odd) {
	background-color : #f9f9f9;
}
.list_table .list_row:hover {
	background-color: #d7d7d7;
}
.list_table .list_row_open,.list_table .list_row_open:hover {
	background : #fcfcfc;
	border : 1px solid #ccc;
}
.list_table .list_contents {
	cursor : pointer;
}
.list_table .list_head ul li,.list_table .list_row ul li {
	display : table-cell;
	padding : 12px 10px;
	vertical-align: middle;
    overflow: hidden;
}
.li_25 {
	width : 25px;
}
.li_50 {
	width : 50px;
}
.li_100 {
	width : 100px;
}
.li_150 {
	width : 150px;
}
.li_200 {
	width : 200px;
}
.li_250 {
	width : 250px;
}
.li_300 {
	width : 300px;
}
.li_400 {
    width : 400px;
}
.li_500 {
	width : 500px;
}
.li_700 {
	width : 700px;
}
.li_1000 {
	width : 1000px;
}
.list_table .list_row .list_delete {
	padding : 10px;
	color : #ff0000;
	background : #fde6e6;
}
/*------------------------------------------------------------------------------ Bar Rheoli ------------------------------------------------------------------------------*/
#bar_rheoli {
    margin-bottom: 15px;
}
/*------------------------------------------------------------------------------List table sorting------------------------------------------------------------------------------*/
#sorting {
	margin: 5px 0 10px 0;
	height: 23px;
}
#sorting .sort {
	float: left;
	padding: 0 20px 0 0;
}
#sorting .sort label {
	display: block;
	float: left;
	padding: 4px 0;
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
	color: #333;
}
#sorting .sort #order_wrap {
	float: left;
	width: 145px;
	height: 23px;
	margin: 0 5px;
	position: relative;
}
#sorting .sort #num_p_wrap {
	float: left;
	width: 80px;
	height: 23px;
	margin: 0 5px;
	position: relative;
}
#sorting .sort .set_sorting {
	display: block;
	width: 100%;
	height: 21px;
	background: #fff;
	border: 1px solid#d3d3d3;
	color: #333;
	font-weight: bold;
	overflow: auto;
	position: absolute;
	top: 0;
}
#sorting .sort .drop_down {
	display: none;
	width: 100%;
	background: #f8f8f8;
	border: 1px solid#d3d3d3;
	border-top: none;
	color: #333;
	font-weight: bold;
	overflow: auto;
	position: absolute;
	top: 23px;
	z-index: 100;
	background: #f8f8f8;
	/* Old browsers */
	background: -moz-linear-gradient(top, #e2e2e2 0%, #f8f8f8 3px, #f8f8f8 100%);
	/* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e2e2e2), color-stop(3px,#f8f8f8), color-stop(100%,#f8f8f8));
	/* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #e2e2e2 0%,#f8f8f8 3px,#f8f8f8 100%);
	/* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #e2e2e2 0%,#f8f8f8 3px,#f8f8f8 100%);
	/* Opera 11.10+ */
	background: -ms-linear-gradient(top, #e2e2e2 0%,#f8f8f8 3px,#f8f8f8 100%);
	/* IE10+ */
	background: linear-gradient(to bottom, #e2e2e2 0%,#f8f8f8 3px,#f8f8f8 100%);
	/* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2e2e2', endColorstr='#f8f8f8',GradientType=0 );
	/* IE6-9 */
}
#sorting .sort .set_sorting,#sorting .sort .filter_boots {
	display: block;
	width: 100%;
	position: relative;
}
#sorting .sort .set_sorting label,#sorting .sort .filter_boots label{
	float: none;
	text-transform: none;
	height: 11px;
	padding: 4px 5px 6px 5px;
	font-size: 11px;
	cursor: pointer;
}
#sorting .sort .set_sorting:hover {
	border: 1px solid #dbeeff;
}
#sorting .sort .set_sorting:hover label {
	color: #008aff;
}
#sorting .sort .filter_boots:hover {
	background: #008aff;
}
#sorting .sort .filter_boots:hover label {
	color: #fff;
}
#sorting .sort .set_sorting .arrow {
	display: block;
	position: absolute;
	top: 8px;
	right: 5px;
	width: 11px;
	height: 6px;
	background: url('../assets/img/admin_design/dropdown.png') no-repeat;
}
#sorting .sort .set_sorting:hover .arrow {
	background-position: 0 -6px;
}
/*----------------------------------------------------------------------------------------------------------------------List table Page Numbers----------------------------------------------------------------------------------------------------------------------*/
#pagination{
	float: left;
	width: 425px;
}
#page_numbers {
	float: right;
	overflow: hidden;
	width: 370px;
}
#page_numbers li {
	float: left;
	margin: 0 0 0 5px;
}
#sorting .sort .filter_boots .page_num {
	background: #fff;
	border: 1px solid#d3d3d3;
	color: #333;
	font-weight: bold;
	float: none;
	text-transform: none;
	height: 11px;
	padding: 4px 7px 6px 7px;
	font-size: 11px;
	cursor: pointer;
}
#page_numbers li .filter_boots:hover .page_num_selected,#sorting .sort .filter_boots:hover .page_num {
	background: #008aff;
	border: 1px solid #008aff;
	color: #fff;
}
#page_numbers li .filter_boots .page_num_selected {
	background: #fff;
	border: 1px solid #008aff;
	color: #008aff;
	font-weight: bold;
	float: none;
	text-transform: none;
	height: 11px;
	padding: 4px 7px 6px 7px;
	font-size: 11px;
	cursor: pointer;
}
#sorting .sort .page_num_inactive {
	background: #fafafa;
	border: 1px solid#ccc;
	color: #ccc;
	font-weight: bold;
	float: none;
	text-transform: none;
	height: 11px;
	padding: 4px 7px 6px 7px;
	font-size: 11px;
}
/*------------------------------------------------------------------------------iFrames------------------------------------------------------------------------------*/
#lrg_iframe {
    border: none;
    width: 100%;
    height: 100%;
}
/*------------------------------------------------------------------------------Forms------------------------------------------------------------------------------*/
.input_wrapper {
	position: relative;
	margin: 25px 0;
}
.input_wrapper input,
.input_wrapper select {
	background: none;
	color: #333;
	font-size: 18px;
	padding: 10px 10px 10px 15px;
	display: block;
	width: 100%;
	border: none;
	border-radius: 0;
	border-bottom: 1px solid #bdbdbd;
	box-shadow: none;
	margin: 0;
	box-sizing: border-box;
}
.input_wrapper select {
    width: 50%;
}
.input_wrapper input:focus {
    outline: none;
}
.input_wrapper input:focus ~ label,
.input_wrapper input:valid ~ label,
.input_wrapper select:focus ~ label,
.input_wrapper select:valid ~ label {
    top: -14px;
    font-size: 12px;
    color: #e7a657;
 }
.input_wrapper input.error ~ label,
.input_wrapper select.error ~ label {
    color: #f00;
 }
.input_wrapper input:focus ~ .bar:before,
.input_wrapper select:focus ~ .bar:before {
    width: 100%;
}
.input_wrapper label {
	color: #757575;
	font-size: 1em;
	font-weight: normal;
	position: absolute;
	pointer-events: none;
	left: 15px;
	top: 10px;
	transition: 300ms ease all;
}
.input_wrapper .bar {
	position: relative;
	display: block;
	width: 100%;
}
.input_wrapper .bar:before {
    content: '';
    height: 2px;
    width: 0;
    bottom: 0px;
    position: absolute;
    background: #e7a657;
    transition: 300ms ease all;
    left: 0%;
}
.input_wrapper input.error ~ .bar:before {
	background: #f00;
	width: 100%;
}

.input_group {
    background-color: #fff;
    display: block;
    margin: 10px 0;
    position: relative;
}
.input_group label {
	font-size: 1em;
	font-weight: normal;
	padding: 15px;
	width: 100%;
	display: block;
	text-align: left;
	color: #757575;
	cursor: pointer;
	position: relative;
	z-index: 2;
	transition: color 200ms ease-in;
	overflow: hidden;
	background-color: rgba(0, 0, 0, 0.08);
	transition: background-color 200ms ease-in;
}
.input_group label:hover {
      background-color: rgba(0, 0, 0, 0.04);
}
.input_group label:before {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	content: '';
	background-color: #2196F3;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%) scale3d(1, 1, 1);
	transition: all 500ms cubic-bezier(0.4, 0.0, 0.2, 1);
	opacity: 0;
	z-index: -1;
}
.input_group label:after {
	width: 32px;
	height: 32px;
	content: '';
	border: 2px solid #D1D7DC;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.414 11L4 12.414l5.414 5.414L20.828 6.414 19.414 5l-10 10z' fill='%23fff' fill-rule='nonzero'/%3E%3C/svg%3E ");
	background-repeat: no-repeat;
	background-position: 2px 3px;
	border-radius: 50%;
	z-index: 2;
	position: absolute;
	right: 30px;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
	transition: all 200ms ease-in;
}

.input_group input:checked ~ label {
    color: #fff;
}
.input_group input:checked ~ label:before {
	transform: translate(-50%, -50%) scale3d(100, 100, 1);
	opacity: 1;
}
.input_group input:checked ~ label:after {
	background-color: #54E0C7;
	border-color: #54E0C7;
}
.input_group input {
	width: 32px;
	height: 32px;
	order: 1;
	z-index: 2;
	position: absolute;
	right: 30px;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
	visibility: hidden;
}

/* The switch - the box around the slider */
.input_check {
    overflow: auto;
    padding: 0 15px;
    margin: 15px 0;
    display: block;
    cursor: pointer;
}
.input_check .label {
    color: #666;
}
.input_check .switch {
  position: relative;
  float: right;
  display: inline-block;
  width: 45px;
  height: 20px;
}

/* Hide default HTML checkbox */
.input_check .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.input_check .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .3s;
  transition: .3s;
}

.input_check .slider:before {
  position: absolute;
  content: "";
  height: 12px;
  width: 12px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .3s;
  transition: .3s;
}

.input_check input:checked + .slider {
  background-color: #0fa8ba;
}

.input_check input:focus + .slider {
  box-shadow: 0 0 1px #0fa8ba;
}

.input_check input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.input_check .slider.round {
  border-radius: 20px;
}

.input_check .slider.round:before {
  border-radius: 50%;
}

.ffurflen {
    display: grid;
    height: 100%;
    grid-template-rows: calc(100% - 60px) 60px;
}
.ffurflen .input_group {
    padding: 20px;
    box-sizing: border-box;
}
.f_700 {
    width: 100%;
    max-width: 700px;
}
.ffurflen .col_1 {
    display: grid;
    width: 100%;
    box-sizing: border-box;
}
.ffurflen .col_2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 20px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}
.ffurflen .col_2 div {
   /* overflow-y: auto;
    overflow-x: hidden; */
    position: relative;
}
.ffurflen label {
    font-size: 1.2em;
    margin-bottom: 2px;
}
.ffurflen .nodyn {
    font-size: .9em;
    opacity: .7;
}
/*
.ffurflen input,
.ffurflen select {
    display: block;
    width: 100%;
    border: 1px solid #d6d6d6;
    margin-top: 10px;
    padding: 15px 12px;
    box-sizing: border-box;
}
*/
.ffurflen .rheoli_ffurflen {
    display: block;
    background: #303030;
}
.ffurflen .rheoli_ffurflen .botwm_glas,
.ffurflen .rheoli_ffurflen .botwm_llwyd {
    float: right;
}
.ffurflen .botwm_glas,
.ffurflen .botwm_llwyd {
    cursor: pointer;
    height: 40px;
    margin: 10px 10px 0 0;
    border: none;
    padding: 7px 40px;
    width: auto;
    font-size: 18px;
    transition: background-color 0.3s ease;
}
.ffurflen .botwm_llwyd:hover {
    background-color: #ccc;
}
.ffurflen .input_file {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}
.ffurflen .input_file + label {
    display: inline-block;
    padding: 10px;
    background-color: #0fa8ba;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.ffurflen .input_file:focus + label, 
.ffurflen .input_file + label:hover {
    background-color: #e7a657;
}
.ffurflen .input_file + label svg {
    width: 1em;
    height: 1em;
    vertical-align: middle;
    fill: currentColor;
    margin-top: -0.25em;
    margin-right: 0.25em;
}


.page_form {
	margin: 20px 0 0 0;
	font-size: 12px;
}
.open_form {
	position : relative;
	margin: 0 0 15px 0;
	padding : 10px;
	color : #464646;
	background : #fefefe;
	border-radius : 3px;
	-moz-border-radius : 3px;
	-webkit-border-radius : 3px;
	border : 1px solid #ccc;
	box-shadow : 0 0 5px #ccc;
	-moz-box-shadow : 0 0 5px #ccc;
	-webkit-box-shadow : 0 0 5px #ccc;
	font-size: 12px;
}
.list_form{
	position : relative;
	padding : 0 0 15px 0;
}
.list_form h2 {
	padding : 0;
	margin : 0;
}
.form_row {
	padding: 10px 0 0 0;
	overflow: auto;
}
.form_cell {
	display : table-cell;
	vertical-align : top;
	margin : 0 10px 0 0;
}
.label_block {
	display : block;
	width : 180px;
	color : #464646;
}
.text_input {
	padding : 4px;
	margin : -2px 10px 10px 0;
	width: 250px;
	background : #fbfbfb;
	color : #555555;
	font-size : 14px;
	font-weight : normal;
	border : 1px solid #ccc;
	border-radius : 3px;
	-moz-border-radius : 3px;
	-webkit-border-radius : 3px;
	box-shadow : 1px 1px 2px rgba(200, 200, 200, 0.2) inset;
	-moz-box-shadow : 1px 1px 2px rgba(200, 200, 200, 0.2) inset;
	-webkit-box-shadow : 1px 1px 2px rgba(200, 200, 200, 0.2) inset;
}
.radio_input {
	margin : 3px 10px 10px 0;
}
.text_select {
	padding : 4px 4px 0 4px;
	margin : -5px 0 8px 0;
	width: 260px;
	background : #fbfbfb;
	color : #555555;
	font-size : 14px;
	font-weight : normal;
	border : 1px solid #ccc;
	text-transform: capitalize;
	border-radius : 3px;
	-moz-border-radius : 3px;
	-webkit-border-radius : 3px;
	box-shadow : 1px 1px 2px rgba(200, 200, 200, 0.2) inset;
	-moz-box-shadow : 1px 1px 2px rgba(200, 200, 200, 0.2) inset;
	-webkit-box-shadow : 1px 1px 2px rgba(200, 200, 200, 0.2) inset;
}
.text_select option {
	padding: 3px;
}
.text_area {
	padding : 4px;
	margin : -5px 0 8px 0;
	width: 500px;
	height: 230px;
	background : #fbfbfb;
	color : #555555;
	font-size : 14px;
	font-weight : normal;
	border : 1px solid #ccc;
	border-radius : 3px;
	-moz-border-radius : 3px;
	-webkit-border-radius : 3px;
	box-shadow : 1px 1px 2px rgba(200, 200, 200, 0.2) inset;
	-moz-box-shadow : 1px 1px 2px rgba(200, 200, 200, 0.2) inset;
	-webkit-box-shadow : 1px 1px 2px rgba(200, 200, 200, 0.2) inset;
}
.description {
	color: #464646;
	font-style: italic;
}
.checkbox {
	margin: 3px 7px;
}
.img_list li {
	padding: 0 10px 0 0;
}
.img_list .img_match img{
	width: 70px;
	height: auto;
	border: 5px solid #ececec;
}
.img_list .img_match:hover img{
	border: 5px solid #ccc;
}
.img_list .matched:hover img,.img_list .matched img{
	border: 5px solid #5fb2f8;
}
.colour_container {
	padding: 0 0 15px 0;
}
.colour_wrap {
	padding: 3px 0;
	border-bottom: 1px dotted #ccc;
}
.colour_label {
	padding: 0 10px;
	width: 195px;
}
.colour_block {
	width: 24px;
	height: 12px;
	border: 1px solid #ccc;
}
.submit_overlay,.submit {
	width : 100%;
	text-align : center;
	font-size : 18px;
	cursor : pointer;
	color : #fff;
	padding : 10px 0;
        border: none;
	background-color : #0fa8ba;
        transition: background-color 0.3s ease;
}
.submit_overlay:hover,.submit:hover {
	background-color : #e7a657;
}


.delete {
	cursor : pointer;
	width : 70px;
	margin : 0 0 0 13px;
	padding : 5px 0;
	color : #fff;
	text-align : center;
	border : 1px solid #333;
	border-radius : 3px;
	-moz-border-radius : 3px;
	-webkit-border-radius : 3px;
	box-shadow : 2px 2px 2px rgba(0,0,0,0.4);
	-moz-box-shadow : 2px 2px 2px rgba(0,0,0,0.4);
	-webkit-box-shadow : 2px 2px 2px rgba(0,0,0,0.4);
	background-color : #373737;
	/* fallback - non-gradient color */
	background-image : -webkit-gradient(linear, 0% 0%, 0% 100%, from(#6f6f6f), to(#373737));
	/* Safari 4+, Chrome 1-9 */
	background-image : -webkit-linear-gradient(top, #6f6f6f, #373737);
	/* Safari 5.1+, Mobile Safari, Chrome 10+ */
	background-image : -moz-linear-gradient(top, #6f6f6f, #373737);
	/* Firefox 3.6+ */
	background-image : -ms-linear-gradient(top, #6f6f6f, #373737);
	/* IE 10+ */
	background-image : -o-linear-gradient(top, #6f6f6f, #373737);
	/* Opera 11.10+ */
	filter : progid:DXImageTransform.Microsoft.gradient(startColorstr='#6f6f6f', endColorstr='#373737');
	/* for IE */
}
.delete:hover {
	background-color : #6a6a6a;
	/* fallback - non-gradient color */
	background-image : -webkit-gradient(linear, 0% 0%, 0% 100%, from(#6f6f6f), to(#6a6a6a));
	/* Safari 4+, Chrome 1-9 */
	background-image : -webkit-linear-gradient(top, #6f6f6f, #6a6a6a);
	/* Safari 5.1+, Mobile Safari, Chrome 10+ */
	background-image : -moz-linear-gradient(top, #6f6f6f, #6a6a6a);
	/* Firefox 3.6+ */
	background-image : -ms-linear-gradient(top, #6f6f6f, #6a6a6a);
	/* IE 10+ */
	background-image : -o-linear-gradient(top, #6f6f6f, #6a6a6a);
	/* Opera 11.10+ */
	filter : progid:DXImageTransform.Microsoft.gradient(startColorstr='#6f6f6f', endColorstr='#6a6a6a');
	/* for IE */
}
.form_success {
	margin: 10px 0;
	padding : 10px;
	color : #126a14;
	background : #deffdf;
	border : 1px solid #126a14;
	border-radius : 3px;
	-moz-border-radius : 3px;
	-webkit-border-radius : 3px;
}
.form_success h3 {
	color : #126a14;
}
.form_success ul li {
	list-style : disc;
	margin : 0 0 0 15px;
}
.form_fail {
	margin: 10px 0;
	padding : 10px;
	color : #ff0000;
	background : #fde6e6;
	border : 1px solid #ff0000;
	border-radius : 3px;
	-moz-border-radius : 3px;
	-webkit-border-radius : 3px;
}
.form_fail h2,.form_fail h3 {
	color : #ff0000;
}
.form_fail ul li {
	list-style : disc;
	margin : 0 0 0 15px;
}
.error {
	color: #f00;
}
.input_error {
	border: 1px solid #f00;
	background: #ffefef;
}
.error_box{
	border: 1px solid #f00;
	background: #ffefef;
	color: #f00;
	padding: 10px;
}
.error_box h3{
	color: #f00;
	font-weight: bold;
}
.error_box ul li{
	list-style: disc;
	padding: 0 0 3px 10px;
}

/* CSV Upload Display */
.rhestr_csv {
    width: 100%;
    margin-top: 10px;
}
.rhestr_csv tr {
    background: #fceeda;
    max-height: 30px;
}
.rhestr_csv tr:first-child {
    background: #e7a657;
    color: #fff;
}
.rhestr_csv tr td {
    padding: 5px;
}
/*------------------------------------------------------------------------------Summary boxes------------------------------------------------------------------------------*/
.summary_box {
	width: 100%;
}
/*------------------------------------------------------------------------------Control boxes------------------------------------------------------------------------------*/
.control_section {
	overflow: auto;
}
.control_form_wrap {
	margin: 20px 0 0 0;
}
.control_section .sc_form {
	width: 200px;
	padding: 15px;
	margin: 0 20px 20px 0;
	border: 1px solid #ececec;
}
/*------------------------------------------------------------------------------Theme boxes------------------------------------------------------------------------------*/
.theme_box {
	margin: 15px 15px 0 0;
	overflow: auto;
}
.theme_box .theme_dtls {
	margin: 10px 0 0 0;
}
.theme_box .screen_shot {
	width: 200px;
	height: 200px;
	margin: 0;
	background: #fff;
	border: 1px solid #ccc;
}
.theme_box .screen_shot img {
	width: 100%;
	height: 100%;
}
.theme_box .set_theme {
	margin: 0 0 0 10px;
}
.theme_box .confirm_theme {
	padding: 10px;
	background: #ececec;
}
.theme_box .confirm_theme:hover {
	background: #ccc;
}
.theme_box .selected,.theme_box .selected:hover {
	background: #5fb2f8;
	color: #fff;
}
