.row-addInstance {
    padding-top:100px;
}

.grid-column {
    min-height: 1px;
    float:left;
    padding-right: 18px;
    padding-left: 5px;
}

.editGrid .grid-column, .row-popout .grid-column {
    min-height:75px;
    padding:30px;
    border-right:1px dashed #A9A9A9;
    position: relative;
}

.editGrid .grid-column:last-of-type, .row-popout .grid-column:last-of-type {
    border-right: 0;
}

.gridrow,.container {
    border:1px dashed #A9A9A9;
    margin-top:-1px;
    overflow:hidden;
    position:relative;
    background-color:#FFF;
}

.gridrow:before,.container:before,.gridrow:after,.container:after {
    display: table;
    content: " ";
}
.gridrow {
    margin-top:5px;
}


.grid-row {
    overflow: hidden;
    width: 100%;
}

.editGrid .grid-row, .row-popout .grid-row {
    border: 1px dashed #A9A9A9;
    margin-top:5px;
    background:#FFF;
    position:relative;
}
.row-popout .grid-row:hover {

    border: 1px solid #175198;
    cursor:pointer;

}
.row-popout .row-options, .row-popout .grid-row:hover .row-options, .row-popout .grid-row:hover .parent-row-options {
    display:none;
}

.row-options, .parent-row-options {
    width: 200px;
    height: 30px;
    background: #69A235;
    border-radius: 0px 0px 5px 5px;
    position: absolute;
    left: 5px;
    color: #FFF;
    padding-left: 15px;
    font-size: 0.8em;
    z-index:20;
    display:none;
}
.row-handle {

    float: left;
    margin-left: 5px;   
    cursor:move;
}

.row-options .title, .parent-row-options .title {
    float: left;
    margin-left: 8px;
    margin-top: 3px;
}
.row-options .object-delete, .parent-row-options .object-delete {

    margin-top:3px;

}

.widget-actions {
    display: none;
    position: absolute;
    top:0;
    right:5px;
    z-index: 10;
}

.editGrid .widget-actions {
    display: block;
}

.editGrid .grid-row:hover .row-options, .grid-row:hover .parent-row-options  {
    display:block;
}

.removed-row.grid-row:hover .parent-row-options {
    display: none;
}

.editGrid .widget {
    border: 1px dotted #ccc;
}

.grid-top {
    overflow:hidden;
    margin-bottom:15px;
}
.grid-top h2 {
    float:left;
}

.grid {
    overflow:auto;
    position: relative;
    min-height: 125px;
}

.grid-instance {
    min-height: 50px;
    background: #FBD4D4;
    color: #FFFFFF;
    background: #1F5E9E;
    padding: 15px;
    border-top: 1px solid #FFFFFF;
    margin-top: 15px;
    z-index: 10;
    cursor: move;
    outline: 2px dashed #A3AFDA;
}

.grid-instance .object-delete, .grid-instance .edit-instance {
    display:none;
}
.grid-instance:hover .object-delete, .grid-instance:hover .edit-instance {
    display:block;
}

.row-handle, .instance-handle {
    background-image: url('/epifany/core/themes/default/images/drag.png');
    width: 32px;
    height: 19px;
    display: inline-block;
    margin-right: 5px;
    background-size: 100%;
    background-repeat: no-repeat;
}


.edit-instance, .edit-row {
    float: right;
    width: 24px;
    height: 24px;
    cursor: pointer;
    background: url('/epifany/core/themes/default/images/pencil.svg');
    background-size: 22px 22px;
    margin-right: 12px;
    position: relative;
    top: 2px;
}

.edit-row {
    background-size: 22px 22px;
}

.widget-grid-actions,.row-grid-actions {
    display: none;
}

.editGrid .widget-grid-actions, .editGrid .row-grid-actions  {
    display: block;
    text-align: center;
    margin-bottom: 5px;
}
.editGrid .widget {
    margin-bottom: 5px;
}

.grid.moving-target .add-widget,.grid.moving-target .add-row {
    display: none !important;
    visibility: hidden !important;
}

.widget-grid-actions .add-widget, .row-grid-actions .add-row {
    visibility: visible;
}

.editGrid .grid-column:hover .widget-grid-actions .add-widget, .editGrid .row-grid-actions:hover .add-row {
    visibility: visible;
}

.editGrid .add-widget, .editGrid .move-widget-target {
    background: #D06B6B;
    height: 32px;
    width: 32px;
    min-height: 32px;
    border: 1px solid #CCC;
    border-radius: 50%;
    margin: 10px auto;
    text-align: center;
    font-size: 1.3em;
    color: #FFF;
    padding: 0;
    cursor: pointer;
}

.editGrid .add-widget:hover {
    background: #F9A3A3;
}

.editGrid .add-widget:before {
    content: "+";
    display: block;
    position: relative;
    bottom: 2px;
}

.editGrid .move-widget-target, .editGrid .move-row-target {

    background-image: url('/epifany/core/themes/default/images/movearrow-light.png');
    background-size: 21px 21px;
    background-position: 50% 49%;
    background-repeat: no-repeat;
    display: none;
    background-color: #4887B3;

}

.instance-placeholder {

    display: block;
    background-color: #E7E886;
    height:60px;

}

.add-row {
    border: 1px solid #CCC;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #69A235;
    color: #FFF;
    cursor: pointer;
    font-size: 1.5em;
    text-align: center;
    margin-top: 8px;
    padding: 0;
}

.add-row:before,.add-instance:before {

    content: "+";
    display: block;
    position: relative;
    bottom: 1px;

}
.add-row:hover {

    background: #49C13A;

}

.grid-column:hover .add-instance {
    display:block;
}

.row-popout .grid-row:hover .add-instance{
    display:none;
}

.add-instance {
    width: 28px;
    height: 28px;
    background: #D06B6B;
    position: absolute;
    bottom: 10px;
    right: 20px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 1.1em;
    text-align: center;
    color: #FFF;
    display:none;
}

.add-instance:hover {
    background: #F9A3A3;
}



.widget-popout,.editwidget-popout {

    width: 70%;
    min-height:350px;

}

.widget-popout .popout-content, .editwidget-popout .popout-content {

    max-height: 600px;
    overflow: auto;

}

.widget-choice {
    border: 1px solid #CCC;
    width: 200px;
    vertical-align: top;
    background: #F7F7F7;
    height: 156px;
    font-size: 0.9em;
    float: left;
    margin: 12px 12px 0px 0px;
}

.widget-choice .widget-choice-top {
    background: #434B62;
    color: #FFF;
    height: 50px;
    padding-top: 11px;
    text-align: center;
}

.widget-choice .choice-widget-title {

    white-space: nowrap;
    font-size: 1.2em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    letter-spacing: -0.06em;
    overflow: hidden;

}

.widget-popout h2 {
    clear:both;
}

.widget-choice button {

    height: 22px;
    min-height: 5px;
    margin: 0 auto;
    display: block;
    font-size: 0.7em;
    padding: 2px 24px;

}

.widget-choice:hover button {
    background: #399c2c;
    color: #FFF;
}

.widget-choice p {
    line-height: 1.5em;
    margin-top: 15px;
    color: #7b7b7b;
    text-align: center;
    overflow: hidden;
    height: 35px;
}

.widget-choice:hover {
    background: #E9EEF7;
    cursor: pointer;
}

.row-popout {

    width:600px;
    height:650px;

}


.grid-column-1  {
    width:8.333333333333%;
}
.grid-column-2 {
    width: 16.666666666667%;
}
.grid-column-3 {
    width: 25%;
}
.grid-column-4 {
    width: 33.333333333333%;
}
.grid-column-5 {
    width: 41.666666666667%;
}
.grid-column-6 {
    width: 50%;
}
.grid-column-7 {
    width: 58.333333333333%;
}
.grid-column-8 {
    width: 66.666666666667%;
}
.grid-column-9 {
    width: 75%;
}
.grid-column-10 {
    width: 83.333333333333%;
}
.grid-column-11 {
    width: 91.666666666667%;
}
.grid-column-12 {
    width: 100%;
}

.grid-actions {
    position: absolute;
    right: 0;
    z-index: 25;
}

.edit-grid {
    cursor: pointer;
}
.edit-grid img {
    width: 20px;
    float: left;
    position: relative;
    right: 6px;
}

.save-grid {
    display: none;
}

.widget-instance .edit-widget, .parent-widget-actions .edit-widget {

    float: right;
    margin-right: 10px;
    margin-top: 8px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    background: url('/epifany/core/themes/default/images/pencil.svg');
    background-size: 22px 22px;
}

.widget-instance .remove-widget, .parent-widget-actions .remove-widget {
    color: #A0A0A0;
    margin-top: 6px;
}

.widget-instance .remove-widget:hover, .parent-widget-actions .remove-widget:hover {
    color: #6D6D6D;
}

.grid-row .move-row {
    background-image: url('/epifany/core/themes/default/images/movearrow-light.png');
    margin-top: 4px;
    margin-right: 7px;
    background-size: 18px 17px;
}

.move-action {
    float: right;
    width: 22px;
    height: 21px;
    cursor: pointer;
    background-size: 22px 21px;
    background-repeat: no-repeat;
}

.widget-instance .move-widget, .parent-widget-actions .move-widget {
    margin-right: 10px;
    margin-top: 8px;
    background-image: url('/epifany/core/themes/default/images/movearrow-grey.png');

}

.widget-instance .removed-instance-message {
    display: none;
}

.widget-instance.removed-instance .removed-instance-message {
    display: block;
}

.move-item-active {
    outline: 3px dashed #E0BFF9;
}

.widget-instance {
    position: relative;
}

.parent-instance::before {
    position: absolute;
    width: 100%;
    background: #fbfbfb;
    z-index: 22;
    height: 100%;
    background-repeat: no-repeat;
    opacity: 0.8;
    content: "";
}

.removed-instance::before, .removed-row::before {
    position: absolute;
    width: 100%;
    background: #fbfbfb;
    z-index: 30;
    height: 100%;
    background-repeat: no-repeat;
    opacity: 0.8;
    content: "";
    background-size: 160px;
    background: repeating-linear-gradient( 45deg, #ffffff, #f7f4f4 10px, #eaeaea 10px, #efefef 20px );
    opacity: 0.8;
}


.restore-grid-item {
    width: 25px;
    height: 29px;
    background-image: url('/epifany/core/themes/default/images/restore.svg');
    background-size: 100%;
    background-repeat: no-repeat;
    position: absolute;
    z-index: 31;
    cursor: pointer;
    right: 31px;
}

.removed-row::before {

    z-index: 32;

}

.removed-instance-message {

    z-index: 31;

}

.removed-row-message {

    z-index: 32;

}

.removed-row-message, .removed-instance-message {
    text-align: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.restore-row, .restore-instance {

    background-image: url('/epifany/core/themes/default/images/restore.svg');
    background-repeat: no-repeat;
    background-size: 28px;
    background-position: 10px 3px;
    width: 169px;
}

.removed-row-message h2, .removed-instance-message h2 {
    font-style: italic;
    font-size: 2em;
    color: #757575;
}

.parent-widget-actions {
    position: absolute;
    right: 5px;
    z-index: 30;
    right: 25px;
}

.parent-instance .widget-actions {
    display: none;
}

.editGrid .widget-instance {
    max-height: 600px;
    overflow: hidden;
}

.widget-instance .instanceFade {

    background-image: linear-gradient( rgba(255, 255, 255, 0) 0%, rgb(249, 249, 249) 100% );
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 50%;
    width: 100%;
    display: none;

}

.widget-instance .show-more-instance {
    position: absolute;
    left: 50%;
    bottom: 80px;
    z-index: 30;
    transform: translate(-50%, 0%);
    display: none;
}

@media (max-width: 900px) {

    .grid-column {

        float: none;
        width: 100%;

    }


}



html {

	font-family:'Martel Sans','Verdana'; 
    font-size: 1.05em;
}

body {
    margin: 0 auto;
    background-color: #ffffff;
    padding: 0px 0px;
}

html,body {
	min-height:100%;
}

* { 
	-moz-box-sizing: border-box; 
	-webkit-box-sizing: border-box; 
	box-sizing: border-box;
	appearance: none;
	margin:0;padding:0; 
}

textarea, button, input[type='submit'] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-family: inherit; font-size: inherit;
}  


textarea, textarea:hover, textarea:focus, textarea:active { outline:none; }

a {
	text-decoration:none;
	color: #313998;
	cursor:pointer;
}
a:hover {
	text-decoration:underline;
	cursor:pointer;
}

a.button:hover, a.actionButton:hover {
    text-decoration: none;
}

li {
    list-style-position: inside;
}

h1 {
	font-size: 1.7em;
    color: #696666;
    font-weight: normal;
}

h2 {
    font-weight: 400;
    line-height: 45px;
}

h3 {
	font-weight: 400;
    font-size: 1.2em;
	color: #616161;
}

p {
	margin: 10px 0;
}

button {
	cursor:pointer;
}

blockquote {
    border-left: 5px solid #CCC;
    font-style: italic;
    font-size: 0.8em;
    padding: 1px 17px;
    margin-left: 20px;
}

img {
    border: 0;
    max-width: 100%;
}

a.button {
	padding: 7px 24px;
}
a.button:hover {
	text-decoration: none;
}

.button {

    border: 1px solid #C6C6C6;
    padding: 5px 24px;
    display: block;
    border-radius: 15px;
    text-align: center;
    display: inline-block;
    font-size: 0.8em;

}

.button a:hover {
	text-decoration: none;
}

button:focus {
	outline: none;
}

.button.delete {
	background-color: #D24545;
    color: #FFF;
    border: 1px solid #DC5151;
}
.button.delete:hover {
	background-color: #A23434;
}

.actionButton, .button.action, input[type='submit'].action {

	background-color: #69A235;
    color: #FFF;
    border: 0;
    border-color: #2A670C;
    border-top: 1px solid #B0D288;
    text-shadow: 0px 1px hsla(0, 0%, 0%, 0.42);

}

.actionButton:hover, .button.action:hover, input[type='submit'].action:hover {

    cursor: pointer;
	background-color: #70B135;

}

.actionButton:disabled:hover,.action:disabled:hover {
    background-color: #69A235;
}

button:disabled,button:disabled {
    opacity: 0.5;
}
button:disabled:hover{
    cursor: default;
}

.radioOption, .checkboxOption {
    overflow: hidden;
}

.radioOption input[type='radio'], .checkboxOption input[type='checkbox'] {

    opacity:0;
    filter:alpha(opacity=0);
    position:absolute

}

.radioOption label, .checkboxOption label {

    display: inline-block;
    margin-right: 6px;

}

.radioOption > div, .checkboxOption > div {

    position: relative;
    bottom: 5px;

}

.radioOption > div:before, .checkboxOption > div:before {
    content: " ";
    border: 1px solid #CCC;
    width: 18px;
    height: 18px;
    display: inline-block;
    margin: 3px 10px;
    position: relative;
    top: 10px;
    right: 5px;
    cursor: pointer;
}

.radioOption input[type=radio]:focus + div:before, .checkboxOption input[type=checkbox]:focus + div:before {
    outline: 1px solid #726CC7;;
    outline-offset: 2px;
}

.radioOption > div:before {

    border-radius: 50%;

}

.radioOption input[type=radio]:checked + div:before, .checkboxOption input[type=checkbox]:checked + div:before {

    background-repeat: no-repeat;
    background-position: 50%;

}

.radioOption input[type=radio]:checked + div:before {

    background-image: url('/epifany/core/themes/default/images/radiobg.png');
    background-size: 10px;
    border: 1px solid #61b6ff;

}

.checkboxOption input[type=checkbox]:checked + div:before {
    
    background-color: #53a1d8;
    background-image: url('/epifany/core/themes/default/images/checkwhite.svg');
    background-size: 17px;
  
}

button.remove {
	background-color: #F77272;
	height: 25px;
	padding: 0px 12px;
	border-color: #B13E3E;
	color: #FFFDFD;
	font-weight: bold;
}
button.remove:hover {
	background-color: #CC5959;
}

button.add {
	background-color: #CAFFB2;
	height: 25px;
	padding: 0px 12px;
	border-color: #27441C;
	color: #345E32;
	font-weight: bold;
}
.button.add.remove {
	background-color: #9CCA88;
}

figcaption {
    font-style: italic;
    line-height: 1.2em;
    text-align: center;
    font-size: .8em;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.header {

	height: 105px;
    background-color: #255E9A;
    padding: 25px 0px;

}

.header a {
	color:#FFF;
	text-decoration: none;
    
}

.header .site-name {
	font-size: 1.9em;
    color: #FFFFFF;
}

.section {
	max-width:80%;
	margin:0 auto;
}

.main-content {
    background-color: #FFF;
    padding: 20px 0px 80px 0px;
}

.crumb-seperator {
    display: inline-block;
}

pre {
	border: 1px solid #CCC;
    width: 90%;
    display: block;
    text-overflow: ellipsis;
    word-break: break-word;
    padding: 40px;
    background-color: #FBFAEE;
}


.content {
	margin-top:20px;
}


.midContent {
	width: 80%;
	margin: 0 auto;
	padding-top: 6px;
}

.grid-page {
	overflow: auto;
}


/* Forms */

form {
	margin:0;
}


label,input[type=submit] {
	display:block;
}

label {
	font-size: .9em;
	margin-top: 5px;
	margin-bottom:5px;
}

label.required:after {
    content: " *";
    color: red;
}



form input:not([type=submit]):not([type=radio]):not([type=checkbox]), form select
{
	width: 400px;
	height: 45px;
	border: 1px solid #C4C4C4;
	border-radius: 3px;
	padding-left: 10px;
	padding-right: 10px;
    font-size: 1em;
}

select[multiple] {

	height: 100px;

}

select[multiple] option {

	padding: 5px;

}

textarea {
	width:400px;
	height: 250px;
	border: 1px solid #C4C4C4;
	border-radius: 3px;
	padding-left: 10px;
	padding-right: 10px;
	display:block;
}


.error-message {
	padding: 10px;
	text-align: center;
	background: #FC637A;
	border: 3px solid #CA5356;
	margin-bottom: 18px;
	color: #FFF;
	font-weight: bold;
	font-size: .9em;
	min-width:400px;
}

.success-message {
	padding:10px;
	text-align:center;
	background:#00FF99;
	border:3px solid #6db066;
	margin-bottom:18px;
}

.warning-message {
    border: 3px solid #AEB724;
    background: #FAFFAB;
    padding: 15px;
    text-align: center;
}

.expandSet {
	overflow:hidden;
	margin-bottom: 15px;
}

input:focus {
    outline: 1px solid #726CC7;
}

input[type='submit'], button, .button {	
	border: 1px solid #CCC;
	padding: 5px 25px;
	background-color: #FDFDFD;
	color: #535353;
	font-size: .9em;
	min-height: 40px;
	border-radius: 5px;
	cursor: pointer;
	vertical-align: middle;
}

input[type='submit']:hover, button:hover,.button:hover {
	background-color: #F1F1F1;
}


input[type=checkbox] {
	width: 16px;
	height: 16px;
}

fieldset {

	padding: 5px 20px 25px 20px;
    border: 1px solid #A5A2A2;

}

.field p {
    display: inline;
}

.fieldset-item {
    overflow: hidden;
    margin-bottom:15px;
}

.multiSetOptions {
    float: left;
    margin-top: 38px;
    margin-left: 20px;
}

.page-top {
    overflow: hidden;
}
.content-left {
    float: left;
}
.content-right {
    float: right;
}

.inline-field {

	float:left;
	margin-left:20px;
}

.fieldErrorMessage {
	display: none;
	margin-left: 5px;
	color: #BE4F4F;
	font-size: .85em;
	font-style: italic;
}

.errorField {
	border: 2px solid #EC6F6F !important;
}


.overlay {
	position:fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
	width:100%;
	height:100%; 
	background-color: #000;
	opacity:0.5;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	z-index:35;
	display:none;
}

.popout {
	border: 1px solid #A6A6A6;
	background-color: #FFF;
	border-radius: 5px;
	padding:0;
	position:fixed;
	left:50%;
	top:50%;
	min-height:250px;
	visibility: hidden;
	z-index:100;
}

.popout .popout-title {
    padding: 5px 15px;
    background: #2B4779;
    color: #FFF;
    font-size: 1.2em;
    cursor:move;
}

.popout .popout-content {

	padding:20px;
    height: 100%;

    overflow-y: auto;
}


.popout-close,.object-delete {
    float: right;
    width: 16px;
    height: 16px;
    font-size: 1.1em;
    margin-right:15px;
}
.object-delete:before,.popout-close:before {
    content: "\2716";
}
.object-delete:hover,.popout-close:hover {
    color: #B98686;
    cursor:pointer;
}

.object-edit.edit-basicwidget {
    position: absolute;
    left: 10px;
    bottom: 1px;
    float: none;
    top: initial;
    z-index: 15;
}

.editGrid .edit-basicwidget {
    display: none;
}

.object-edit {
    float: right;
    width: 24px;
    height: 24px;
    cursor: pointer;
    background: url('/epifany/core/themes/default/images/pencil.svg');
    background-size: 23px 23px;
    margin-right: 12px;
    position: relative;
    top: 2px;
    background-repeat: no-repeat;
}

.user-navigation {
    padding: 5px;
    background-color: #094171;
    font-size: .9em;
    color: #FFF;
    overflow: hidden;
}
.user-navigation a {
	color: #FFF;
}

.user-navigation .user-left {
    float: left;
}
.user-navigation .user-right {
    float: right;
}

.flash-messages {
    position: fixed;
    top:0;
    left:0;
    z-index: 65;
    width: 100%;
}

form[name='search-entities'] {
    overflow: hidden;
    margin-top: 14px;
}

.choose-existing-entity input[type='checkbox'] {

    display: inline-block;

}

.choose-existing-entity label {

    display: inline-block;

}

.widget-inlinereference .use-route-arguments {
    display: none;
}

.widget-inlinereference select.search-type {
    width: 12%;
    float: left;
}

.widget-inlinereference select.search-field {
    width: 20%;
    margin-right:0.5%;
    float: left;
}

.widget-inlinereference .entity-search {
    overflow: hidden;
    position: relative;
    width: 66%;
    float: right;
}

.widget-inlinereference  .clear-search {
    position: absolute;
    top: 12px;
}

.widget-inlinereference form[name='search-entities'] input[name='entity-search'] {
    width: 100% !important;
    float: right;
    height: 45px;
    margin-bottom: 10px;
    padding-left: 10px;
}

.widget-inlinereference .entity-result {

    overflow: hidden;
    border: 1px dashed #CCC;
    padding: 5px;

}

.widget-inlinereference .entity-display {
    float: left;
    width: 80%;
    padding-left: 15px;
}
.widget-inlinereference .choose-entity {
    float: left;
    width: 20%;
    text-align: right;
    padding-right: 15px;
}

.filefield-popout {

    width:65%;
    min-height:500px;
    overflow-y: auto;
}

.filefield-popout .popout-content {

    margin-bottom: 12px;

}

.filefield-selected-files {

    padding: 15px 20px;
    background: #eaeaea;
    border-top: 1px solid #dedede;

}

.drag-handle {
    width: 20px;
    height: 20px;
    background-image: url('/epifany/core/themes/default/images/drag_dark.png');
    background-size: 100%;
    margin: 0 auto;
}
.drag-handle:hover {
    cursor: move;
}

.footer {
	background-color: #2F2F2F;
    height: 150px;
    color: #FFF;
    padding: 75px 15px;
    border-top: 10px solid #585858;
}

.footer a {
	text-decoration: none;
	color:#FFF;
}

.footer .callout {

	text-align: right;
	font-size:.8em;

}


.toggle {
    display: inline-block;
    height: 20px;
    border: 1px solid #CCC;
    width: 44px;
    border-radius: 15px;
    position: relative;
    top: 4px;
    left: 3px;
}

.toggle button {
    border: 1px solid #CCC;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    min-height: 18px;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 0;
    top: 0;
    transition: left 0.3s;
}

.toggle.active {
    background: #69A235;
    border: 1px solid #62BD69;
}

.toggle.active button {
    left: 24px;
}

.edit-basicwidget-popout {

    width: 800px;

}

.edit-entity-inline-popout {
    width: 600px;
}

.edit-basicwidget-popout .widget-content, .edit-entity-inline-popout .widget-content {
    padding: 0px 20px;
}

.widget-content {
    overflow: visible;
    position: relative;
}

.entity-output {
    border-bottom: 1px dashed #BBB9DC;
}
.entity-output:after {

    background-image:url('/epifany/core/themes/default/images/gear.png');
    background-size: 100%;
    content: " ";
    width: 16px;
    height: 16px;
    display: inline-block;
    position: relative;
    right: 3px;

}

.entity-output:hover {
    cursor: pointer;
}

.entity-output .link-bypass {
    background-image: url('https://s3.amazonaws.com/rctclearnsite/site-home/images/newwindow.png');
    background-position: 100% 50%;
    background-repeat: no-repeat;
    background-size: 12px 12px;
    padding-right: 12px;
    width: 12px;
    margin-right: 8px;
    height: 12px;
    display: none;
}

a .entity-output .link-bypass {
    display: inline-block;
}

.trash {
    width: 16px;
    height: 16px;
    position: relative;
    top: 2px;
    right: 2px;
}

.revisions {
    width: 20px;
    height: 20px;
    opacity: 0.8;
    display: block;
    margin: 0 auto;
}

table[data-table='Collection'] th:first-of-type {
    width: 60px;
}

.check {
    width: 18px;
}


.input-formats,.fields-bank {
    list-style: none;
}

.fields-bank {
    border: 1px solid #CCC;
    min-height: 200px;
}

.input-formats li {
    padding: 13px 22px;
    border: 1px solid #E0E0E0;
    border-bottom: 0;
    background: #FBFBFB;
}

.input-formats li.selected {
    background: #255E9A;
}
.input-formats li.selected a {
    color: #FFF;
}

.input-formats li:last-of-type {
    border-bottom: 1px solid #E0E0E0;
}

.fields-bank li {
    border-bottom: 1px solid #CCC;
    padding: 10px;
    padding-left: 20px;
    font-style: italic;
    color: #717070;
    font-size: 1em;
}

.format-fields-bank li {
    font-style: normal;
}

.new-format {
    float:right;
}

.fields-bank .drag-handle {
    float: left;
    margin-right: 15px;
}

.fields-bank .required {
    float:right;
    margin-right:15px
}

.collection-fields-bank .required {
    display: none;
}

.inputFormat-grid .save {
    float: right;
    margin-top: 15px;
}

.edit-top, .content-top {
    overflow: hidden;
    margin-bottom: 15px;
}

.edit-top .left, .content-top .left {
    float: left;
}

.edit-top .right, .content-top .right {
    float: right;
}

.description {
    font-style: italic;
    font-size: 0.85em;
    margin-bottom: 20px;
    margin-left: 5px;
}

.input-format-title {
    margin-bottom: 20px;
}

.online {
    border: 1px solid #154C12;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #59CC72;
    display: inline-block;
    position: relative;
    top: 1px;
    margin-right: 5px;
}

.set-template {
    display: none;
}

.field-description,.helpertext {
    font-size:.7em;
}

.group-permissions-table .category-title {
    font-weight: bold;
    background: #F1F1F1;
}

.group-permissions-table td:first-of-type:not(.category-title) {
    padding-left: 25px;
}
.group-permissions-table td:not(:first-of-type) {
    text-align: center;
}

.inlinereferencefield-popout {
    width: 60%;
}

.inlinereference-field {
    width: 400px;
}

.inline-entity {
    border: 1px dashed #CCC;
    padding: 6px 12px;
    background: #FFF;
    margin-bottom: 10px;
    overflow: hidden;
}

.fillinblanks {
    overflow: hidden;
}

.fillinblanks .field {
    display: inline-block;
    margin-left: 10px;
}

.fillinblanks .field:first-of-type {
    margin-left: 0;
}

.widget-filemanager {
    background-color: #FFF;
    overflow-y: auto;
}

.clear-search {

    float: right;
    position: relative;
    right: 25px;
    top: 32px;
    color: #9e9999;
    font-size: .85em;
    cursor: pointer;

}

.widget-inlinereference .edit-top {
    margin-bottom: 0px;
}

button.inline-reference-tab {

    font-size: 0.8em;
    padding: 4px 9px;
    height: auto;

}

button.inline-reference-tab.selected {
    background: #f7f8ff;
}

button.inline-reference-tab.selected:hover {
    background: #e0e2ef;
}


.inline-entity .drag-handle {
    float: left;
    margin-right: 5px;
    margin-top: 3px;
}

.release-conditions .release-condition {
    border: 1px solid #CCC;
    padding-bottom: 10px;
    margin-bottom: 15px;
    padding: 0;
}

.add-release-condition {
    display: block;
    border-radius: 50%;
    padding: 0px 9px;
    background: #8bc2f1;
    color: #FFF;
    height: 25px;
    border: 0;
    min-height: 0px;
    margin: 5px auto;

}

.release-conditions .release-condition.condition-group {
    min-height: 40px;
    border: 1px dashed #CCC;
    background: none;
    padding: 0;
}

.release-conditions .condition {
    overflow: hidden;
}

.condition-title {
    background: #e6fde9;
    padding: 10px 10px;
}

.condition-group-title {
    background: #f4f9e1;
    padding: 5px 10px;
}

.subconditions {
 
    padding-left: 25px;

}

.release-conditions .sort-handle {
    width: 20px;
    height: 20px;
    background-image: url('/epifany/core/themes/default/images/drag_dark.png');
    background-size: 100%;
    float: left;
    margin-right: 10px;
    cursor: move;
    margin-top: 4px;
}

.add-parent-condition {
    display: block;
    padding: 5px 12px;
    height: 33px;
    border-radius: 17px;
    font-size: 0.7em;
}

.parent-condition {
    font-size: 0.9em;
    border: 1px dashed #CCC;
    border-radius: 15px;
    background: #5bb0bd;
    padding: 1px 21px;
    width: 60%;
    color: #FFF;
}

@media (max-width: 1400px) {

    .filefield-popout {

        width: 100%;

    }

}

@media (max-width: 1150px) {

    form input:not([type=submit]):not([type=radio]):not([type=checkbox]), form select {
        width: 90%;
    }

}

@media (max-width: 600px) {

    form input:not([type=submit]):not([type=radio]):not([type=checkbox]), form select
    {
        width: 95%;
    }

    textarea, .field .tag-field, .edit-basicwidget-popout, .edit-entity-inline-popout, .inlinereference-field {
        width: 100%;
    }

    .inlinereferencefield-popout {
        width: 100%;
    }

}

@font-face {
  font-family: 'Martel Sans';
  font-style: normal;
  font-weight: 200;
  src: local('Martel Sans ExtraLight'), local('MartelSans-ExtraLight'), url(https://fonts.gstatic.com/s/martelsans/v4/h0GxssGi7VdzDgKjM-4d8hAX5vuAH00.ttf) format('truetype');
}

.side {

    float: left;
    border: 2px dashed #CCC;
    padding: 20px;
    min-height: 460px;
    width: 48%;
    text-align: center;

}

.side-intro {
    padding-top: 125px;
}

.side-login {
    margin-left: 1%;
}

.side-login .formContent {
    width: 58%;
    margin: 0 auto;
}

.side-login input[type='submit'] {
    margin: 0px auto;
}

form[name='legacylookup'] input[type='submit'] {

    display: inline-block;
    margin-right: 10px;

}

.userdetails.success-message {
    padding-left: 25px;
    margin-top: 20px;
    text-align: left;
}

.site-image {
    float: left;
    max-width:250px;
    margin-right: 20px;
    max-height: 180px;
}

.sites .can-site-image {

    max-width: 164px;
    margin: 15px auto;
    height: 66px;

}

.sites {
    overflow: hidden;
}

.sites .site {

    width: 231px;
    height: 205px;
    border: 1px dashed #CCC;
    text-align: center;
    float: left;
    margin-left: 23px;
    margin-top: 15px;

}

.site a {
    display: block;
    top: 50%;
    position: relative;
    transform: translateY(-50%);
}

.can-site-image img {
    max-width: 158px;
    max-height: 65px;
}

@media (max-width: 900px) {

    .side {
        float: none;
        width: 98%;
        margin-bottom: 15px;
    }

}
