/*
 * This File contains the css for fornt end pages of the plugin like submissions
 *
 * NOTE: This File is not a theme/css file for Front End User Created Forms.
 */


/*---------Common Elements---------------*/

.rmagic * {
    box-sizing: border-box;
}

.rmagic .rmrow li {
    list-style: none;
    margin: 0 0 5px 0;
}

.rmagic .rmrow li input[type=radio],
.rmagic .rmrow li input[type=checkbox] {
    margin-right: 10px;
    display: inline-block;
}


/*----header----*/

.rmagic .operationsbar {
    display: block;
    width: 30%;
    float: left;
    padding: 10px;
}

.rm_spacing {
    margin-top: 100px;
    clear: both;
    width: 100%;
    float: left;
}

.rm_divider {
    width: 100%;
    size: 8px;
    clear: both;
    float: left;
}

.rmagic .rmtitle {
    display: block;
    float: left;
    padding: 0px 0px 25px 5px;
    width: 100%;
    font-size: 24px;
    text-transform: uppercase;
}

.rmagic .rmsubtitle {
    display: block;
    float: left;
    padding: 0px 0px 25px 5px;
    width: 100%;
    font-size: 18px;
    text-transform: uppercase;
}

.operationsbar .nav {
    display: inline-block;
    position: relative;
    width: 100%;
}

.operationsbar .nav ul {
    font-size: 14px;
    list-style: none;
    padding: 0px;
    margin: 0px;
    border-radius: 5px;
    border: 1px solid #e5e5e5;
    overflow: hidden;
}

.operationsbar .nav ul li,
.operationsbar .nav ul li a {
    display: inline-block;
    padding: 10px;
    color: #000;
    text-decoration: none;
    transition: 0.2s;
    display: block;
    background-color: #fbfbfb;
}

.operationsbar .nav ul li.rm-form-toggle {
    background: #fdf99f;
    color: #e6a719;
}

.operationsbar .nav ul li.rm-form-toggle:hover {
    background: #fdf99f;
    color: #c38a09;
}

.operationsbar .nav ul li {
    border-bottom: 1px solid #e5e5e5;
}

.operationsbar .nav ul li:nth-last-child(1) {
    border-bottom: none
}

.operationsbar .nav ul li:hover,
.operationsbar .nav ul li:hover a,
.operationsbar .nav ul li a:hover,
.operationsbar .nav ul li.ui-state-active,
.operationsbar .nav ul li.ui-state-active a {
    background-color: #FFF;
    cursor: pointer;
}

.rmagic ul li.rm-form-toggle {
    display: inline-block;
    padding: 20px;
    margin-right: 0px;
    display: block;
}

.rmagic li.rm-form-toggle select {
    background-color: rgb(253, 253, 253);
    border: 1px solid rgb(240, 240, 240);
    color: rgb(150, 150, 150);
    margin-left: 10px;
}


/* Map Field CSS */

.rmagic .map {
    height: 300px;
    width: 100%;
}

.rmagic .rm-map-controls {
    margin-top: 10px;
    border: 1px solid transparent;
    border-radius: 2px 0 0 2px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    height: 32px;
    outline: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.rmagic .rm_map_autocomplete {
    background-color: #fff;
    font-family: Roboto;
    font-size: 15px;
    font-weight: 300;
    margin-left: 12px;
    padding: 0 11px 0 13px;
    text-overflow: ellipsis;
    width: 200px;
}

.rmagic .rm_map_autocomplete:focus {
    border-color: #4d90fe;
}

.pac-container {
    font-family: Roboto;
}

#type-selector {
    color: #fff;
    background-color: #4d90fe;
    padding: 5px 11px 0px 11px;
}

#type-selector label {
    font-family: Roboto;
    font-size: 13px;
    font-weight: 300;
}


/* Map Field css ends here */


/*------------Adjustments for smaller screens-----------------*/

@media screen and (max-width: 700px) {
    table {
        display: block;
        overflow: auto;
    }
}


/*table style*/

.rmagic-table {
    display: block;
    width: 70%;
    float: left;
    padding: 10px;
}

.rmagic tr:nth-child(odd) {
    background-color: rgb(250, 250, 250);
}

.rmagic table.rm-table,
.rmagic table.rm-table td,
.rmagic table.rm-table th {
    text-align: center;
}

.rmagic table.rm-table {
    border-collapse: collapse;
    font-size: 14px;
    width: 100%;
}

.rmagic table.rm-table th {
    text-transform: uppercase;
    font-weight: normal;
    padding: 8px;
    background-color: rgb(240, 240, 240);
}

td {
    padding: 8px;
    border-bottom: 1px dotted silver;
}

tr {
    transition: 0.3s;
}

.rmagic th.table-header {
    font-size: 12px;
    text-transform: uppercase;
    background-color: rgb(253, 253, 253);
}

.rm-user-details-card .rm-user-image {
    border-bottom: 2px solid #e5e5e5;
    padding-bottom: 50px;
    margin-bottom: 10px;
}


/* Tooltip container */

.tooltip {
    position: relative;
    display: inline-block;
}


/* Tooltip text */

.tooltip .tooltiptext {
    visibility: hidden;
    font-family: Arial, sans-serif;
    width: 220px;
    font-size: 14px;
    background-color: azure;
    opacity: 1;
    color: #5e7071;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    position: absolute;
    border-left: 1px solid #7adfe3;
    border-top: 1px solid #7adfe3;
    border-bottom: 3px solid #7adfe3;
    border-right: 3px solid #7adfe3;
    z-index: 1;
}

.tooltip a {
    display: block;
    text-align: center;
}

.tooltiptext a::before {
    content: "»";
}


/* Show the tooltip text when you mouse over the tooltip container */

.tooltip:hover .tooltiptext {
    visibility: visible;
}


/* The animation code */

@keyframes textfade {
    from {
        color: transparent
    }
    to {
        color: #6db5b6
    }
}

.rmagic-table {
    display: block;
}

.rmagic table.rm-table img {
    width: 25px;
    height: 25px;
}


/*------Paginations-------*/

.rmagic ul.rmpagination {
    font-size: 14px;
    display: inline-block;
    padding: 10px;
    ;
    margin: 0;
    float: right;
}

.rmagic ul.rmpagination li {
    display: inline;
}

.rmagic ul.rmpagination li a {
    color: black;
    float: left;
    padding: 6px 14px;
    text-decoration: none;
    background-color: white;
    margin-left: 5px;
    transition: 0.3s;
    cursor: pointer;
}

.rmagic ul.rmpagination li a.active {
    background-color: rgb(50, 50, 50);
    color: white;
}


/*----User Page----*/

.rm-user-details-card {
    display: block;
    float: left;
    padding: 20px;
    margin: 10px;
    font-weight: 200;
    padding-top: 0px;
    width: 100%;
}

.rm-user-image-container {
    width: 100%;
    text-align: center;
}

.rm-user-image-container .rm-user-image img {
    max-width: 150px;
    padding: 5px;
}

.rm-user-fields-container {
    width: 100%;
    padding: 50px 10px 20px 20px;
}

.rm-user-field-row {
    display: block;
    width: 100%;
    float: left;
    padding: 10px;
}

.rm-user-field-label {
    display: inline-block;
    width: 40%;
    float: left;
    font-weight: bold;
    text-align: left;
}

.rm-user-field-value {
    display: inline-block;
    width: 60%;
    float: left;
    text-align: left;
}

.rm-user-field-label {
    text-transform: capitalize;
}

.rm-user-name,
.rm-user-image {
    font-size: 120%;
    width: 100%;
    display: block;
    float: left;
    padding: 5px;
    color: #333333;
    text-transform: capitalize;
    text-align: center;
    font-weight: bold;
}

img.rm-user {
    max-width: 100%;
    height: auto;
    background-color: white;
    padding: 15px;
    border: 1px solid rgb(225, 225, 225);
}


/*----Submission Page----*/

.rmagic .rm-submission {
    margin-top: 25px;
}

.rm-submission-field-row {
    border-bottom: 1px dotted rgb(240, 240, 240);
}

.rmagic .rm-submission,
.rm-submission-field-row {
    display: block;
    background-color: #fffffe;
    float: left;
    width: 70%;
    padding: 15px;
    text-align: left;
}

.rmagic .rm-submission.rm-tab-content {
    background-color: transparent;
}

.rmagic .rm-submission-label,
.rm-submission-value {
    display: inline-block;
    float: left;
}

.rmagic .rm-submission-label {
    font-weight: bold;
    width: 40%;
    text-transform: uppercase;
    font-size: 12px;
}

.rmagic .rm-submission-value {
    width: 60%;
}

.rmagic .rm-submission-field-row .rm-submission-attachment {
    display: inline-block;
    float: left;
    padding: 10px;
    background-color: rgb(250, 250, 250);
    border: 2px dashed rgb(240, 240, 240);
    width: 120px;
    margin: 0 10px 10px 0;
}

.rmagic .rm-submission-field-row .rm-submission-attachment img {
    float: left;
    display: block;
    width: 100px;
    max-height: 100px;
    height: auto;
}

.rmagic .rm-submission-attachment-field {
    display: block;
    float: left;
    font-size: 12px;
    width: 100px;
    text-align: center;
    padding: 5px 0 0 0;
    text-overflow: ellipsis;
    overflow: hidden;
}

.rmagic .rm-submission-note {
    border-left: 4px solid red;
    padding: 10px;
    margin-top: 10px;
    display: block;
    width: 100%;
    float: left;
    background: #fffffe;
}

.rmagic .rm-submission-note-text {
    background-image: url(rm-submission-note.png);
    background-repeat: no-repeat;
    padding-left: 25px;
    display: block;
    width: 100%;
    float: left;
    font-style: italic;
}

.rmagic .rm-submission-note-attribute {
    font-size: 10px;
    padding: 10px;
    text-transform: uppercase;
    display: block;
    width: 100%;
    float: left;
    text-align: right;
    color: rgb(175, 175, 175);
}

.rm-submission#rm_my_details_tab {}

.rmagic .rm-submission-note-attribute a {
    padding-right: 10px;
    font-size: 14px;
}

.rm_user_exists_alert {
    background-color: #f2dede;
    border-color: #eed3d7;
    color: #b94a48;
    padding: 8px 35px 8px 14px;
    margin-bottom: 20px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    width: 100%;
}

.rmagic .rmcontent form fieldset {
    border: 0px solid #000;
    margin: 0px;
    padding: 5px;
    width: 100%;
}

.rmagic .rmcontent .rm_input_fields_container {
    width: 100%;
    float: left;
    padding-top: 20px;
} 

.rm_exp_link_msg { 
    float: left;
    width: 100%;
}


/*------------Adjustments for smaller screens-----------------*/

@media screen and (max-width: 700px) {
    .rmagic .rm-submission-label,
    .rmagic .rm-submission-value {
        display: block;
        width: 100%;
        margin-bottom: 10px;
        font-size: 120%;
    }
    .operationsbar .nav ul li,
    .operationsbar .nav ul li a {
        display: block;
        width: 100%;
        text-transform: uppercase;
    }
}

.rmagic .childfieldsrow {
    width: 94%;
    display: block;
    float: left;
    padding: 20px 0 0 0;
    border-width: 0px 0px 0px 0px;
    border-style: solid;
    border-color: #94cdc9;
    margin: 0 4% 2% 4%;
    background-color: rgb(24