﻿html,
body {
    position: relative;
    height: 100%;
    margin: 0;
    padding: 0;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    /* The html and body elements cannot have any padding or margin. */
}

body,
.btn,
label,
select,
input,
textarea, 
h4, 
h5, 
h6 {
    font-family: "Open Sans", "Arial","sans-serif";
}


h1,h2,h3 {
    font-family: "Open Sans","Trebuchet MS","Tahoma","Verdana","Arial","sans-serif";
    font-weight: 400;
}

.ui-front {
    z-index: 1050 !important;
}


.caret {
    border-top-color: #898989;
}

.table-nonfluid {
    width: auto;
}

.table-separated tr{
    border-bottom: 1px solid #E9E9E9;
}

.table-separated td{
    padding: 7px 5px 5px 5px;
}

textarea {
    resize: vertical;
}

textarea.placeholder, input.placeholder {
    color: #aaa;
}

.gray-text,
a.gray-text:link,
a.gray-text:visited {
    font-size: 95%;
    color: #898989;
}

a.gray-text:hover {
    color: #3987CF;
}

select.form-control, select.form-control option {
    color: #000;
}

select.form-control.first-gray.first-selected, select.form-control.first-gray > option:first-child {
    color: #808080;
}


.radio input[type="radio"],
.checkbox input[type="checkbox"] {
    outline: 0 none;
}

textarea.form-control,
input.form-control[type="text"],
input.form-control[type="password"] {
    color: #000;
}

/* Wrapper for page content to push down footer */
.wrap {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    /* Negative indent footer by it's height */
    margin: 0 auto -75px;
    font-size: 13px;
}

@media (max-width: 480px) {
    .wrap {
        min-height: 0;
    }
}

/* Set the fixed height of the footer here */
#push {
    min-height:75px;
}


#main, .footer > .row {
    position: relative;
    padding: 0;
    width: auto;
    margin-left: 2%;
    margin-right: 2%;
}


#resource-list {
    position: relative;
    z-index: 10;
    margin: 0 0 0 -20px;
}

#resource-list li {
    position: relative;
    margin: 0 -20px 3px 35px;
}

#main-column {
    position:relative;
    z-index: 100;
}

#resource-list.thumbnails > li {
    float: left;
}

.resource-item {
    position: relative;
}

.resource-item .resource-item-meta {
    position: absolute;
    padding-left: 5px;
    display: block;
    overflow: visible;
    bottom: 3px;
    opacity: 0.8;
}

.resource-item:hover .resource-item-meta {
    z-index: 1;
}

.resource-item-image a {
    position: relative;
    vertical-align: bottom;
    line-height: 150px;
    height: 160px;
    width: 160px;
    text-align: center;
    background-color: white;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    border-color: #ddd;
    outline: none !important;
}

.resource-item-image {
    display: block;
    position: relative;
    margin: 7px 0;
    line-height: 160px;
    width: 160px;
}


/* Attach files to response */
.attachedFile {
    padding-bottom: 8px;
    white-space: nowrap;
}

.attachedFile .attachedFileName, .attachedFile a {
    display: inline-block;
}

.attachedFile a {
    margin-left: 10px;
    color: #1B67B2;
}

.attachedFile a:hover {
    cursor: pointer;
}

.media-image {
    border: 1px solid #ddd;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.media-download-image {
    border: none;
}

.thumbnail > .media-image {
    display: inline-block;
    border: 0 none;
    vertical-align: middle;
}

.validation-summary-errors {
    font-weight: normal;
    color: #CC0000;
}

.field-validation-error
{
    color: #CC0000;
}

.input-validation-error {
    border: 1px solid #CC0000 !important;
}

.shaped-form {
    position: relative;
    max-width: 400px;
    padding: 19px 79px 29px;
    margin: 0 auto 20px;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 1px 2px #e0e0e0;
    -moz-box-shadow: 0 1px 2px #e0e0e0;
    box-shadow: 0 1px 2px #e0e0e0;
}

.shaped-form h2,
.shaped-form .checkbox {
    margin-bottom: 10px;
}

.shaped-form select,
.shaped-form input[type="text"],
.shaped-form input[type="password"] {
    margin-top: 0;
    margin-bottom: 0;
    padding: 7px 9px;
    width: 360px;
}
 
.shaped-form select {
    width: 380px;
    padding: 6px 9px;
    line-height: 35px;
    height: 35px
}
.shaped-form input + div {
    margin-bottom: 8px;
    font-size: 13px;
}

.shaped-form label {
    font-size: 13px;
    margin-top: 0;
    margin-bottom: 2px;
}

.shaped-form textarea {
    padding: 7px 9px;
    width: 360px;
    resize: vertical;
}

.contact-form-layout {
    margin: 10px auto; 
    max-width: 100%; 
    width: 641px;
}

.contact-form-layout .contact-form {
    float: left;
    margin-right: 0;
    padding-right: 30px;
    border-right: 1px solid #E9E9E9;
}

#contact-form, .contact-form #ajaxUploadForm {
    margin-bottom: 0;
}

.contact-help-form {
    float: left;
    width: 200px;
    line-height: 1.15em;
    padding: 6px 0 0 30px;
}

@media (max-width: 900px) {
    .shaped-form {
        padding: 5px 20px;
        margin: 5px auto;
    }
}

@media (max-width: 767px) {
    .shaped-form {
        max-width: 100%;
    }

    .shaped-form select,
    .shaped-form input[type="text"],
    .shaped-form input[type="password"] {
        width: 98%;
    }
 
    .shaped-form select {
        width: 98%;
    }

    .shaped-form textarea {
        width: 98%;
    }

    .contact-form-layout {
        width: auto;
    }

    .contact-form-layout .contact-form {
        width: auto;
        float: none;
        margin-right: 0;
        padding-right: 0;
        border-right: none;
    }

    #contact-form, .contact-form #ajaxUploadForm {
        margin-bottom: 0;
    }

    .contact-help-form {
        float: none;
        width: auto;
        overflow: hidden;
        padding: 0;
    }
}


/* ajax uploader begin */
div.ajax-uploader span.link {
    float: left;
    color: #898989;
    cursor: pointer;
    margin-bottom: 10px;
    overflow: hidden;
    position: relative;
}

div.ajax-uploader span.link.attach_link_selected {
    color: #1B67B2;
    text-decoration: underline;
}

div.ajax-uploader input#ajaxFileUpload {
    opacity: 0;
    padding: 0;
    position: absolute;
}
/* ajax uploader end */

.localization-text-area {
    width: 400px;
    height: 100px;
}

.label-green {
    color: green;
}

.label-red {
    color: red;
}

.label-orange {
    color: #B3590E;
}


.alert {
    font-size: 13px;
}

.wiki-text {
    font-size: 14px;
}

.resource-item-next {
    width: 160px;
}

a.next-media-item {
    position: relative;
    z-index: 0;
    margin-top: 45px;
    background-color: #f5f5f5; 
    text-align: center;
    width:85px;
    height:85px;
    padding-left: 10px;
    padding-top: 20px; 
    border-width: 1px;
    border-color: #ddd;
    text-decoration: none !important;
    font-family: Calibri, Arial;
    font-size: 18px;
    font-style: normal;
    color: #808080;
}

a.next-media-item:before {
    display: block;
    z-index: -1;
    position: absolute;
    background-color: #f5f5f5;
    content: "";
    top: 18px;
    left: 61px;
    width: 44px;
    height: 45px;
    border-top: 1px solid #ddd;
    border-right: 1px solid #ddd;
    -moz-transform: rotate(45deg) skewX(15deg) skewY(16deg);
    -ms-transform: rotate(45deg) skewX(15deg) skewY(16deg);
    -o-transform: rotate(45deg) skewX(15deg) skewY(16deg);
    -webkit-transform: rotate(45deg) skewX(15deg) skewY(16deg);
    transform: rotate(45deg) skewX(15deg) skewY(16deg);
}

a.next-media-item, a.next-media-item:before {
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}


a.next-media-item:hover:before, a.next-media-item:focus:before {
    border-color: #08C;
}


.hr {
    position: relative;
    text-align: center;
    margin: 20px 0 20px 0;
    min-height: 1px;
}

h4 {
    color: #808080;
     font-size: 14px;
    line-height: 14px;
    min-height: 20px;
    font-weight: normal;
    margin: 5px 0;
    padding: 0;
    border-bottom: 1px solid #E9E9E9;
}

.hr:before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    content: "";
    height: 52%;
    border-bottom: 1px solid #E9E9E9;
}

.hr h4, .hr h2 {
    position: relative;
    display: inline-block;
    background-color: white !important;
    color: #999;
    font-size: 22px;
    line-height: 22px;
    text-align: center;
    font-weight: normal;
    margin: 0;
    padding: 0 5px;
    border: none;
}


#top-navbar {
    font-size: 13px;
    margin-bottom: 10px;
}

.navbar .nav > li > a, .navbar .nav > li > a:link, .navbar .nav > li > a:visited, .navbar .nav > li > a:active, .nav > li > a:hover,
.gray a, .gray a:link, .gray a:visited, .gray a:active, .gray a:hover,
 a.gray, a.gray:link, a.gray:visited, a.gray:active, a.gray:hover,
.side-form-checkbox a, .side-form-checkbox a:link, .side-form-checkbox a:visited, .side-form-checkbox a:active, .side-form-checkbox a:hover,
a.nav-count, a.nav-count:link, a.nav-count:visited, a.nav-count:active, a.nav-count:hover,
#details-keywords a, #details-keywords a:link, #details-keywords a:visited, #details-keywords a:active, #details-keywords a:hover,
.btn-link:hover, .btn-link:visited, .btn-link:active, .btn-link:focus {
    color: #808080;
}


.navbar .nav > li > a:hover, a:hover {
    text-decoration: underline;
}

.navbar .nav>.active>a, .navbar .nav>.active>a:hover, .navbar .nav>.active>a:focus {
color: #808080;
text-decoration: none;
background-color: #FFF;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}

.navbar .link-text {
    color: #000;
}

.navbar .logon-block .text-item {
    padding-top: 10px;
}

.nav-count {
    display: inline-block;
    padding: 11px 12px 4px 4px;
    vertical-align: top;
    text-align: right;
}

.side-form-checkbox {
    position: relative;
    z-index: 0;
}

.side-form-checkbox a:before {
    position: absolute;
    z-index: -1;
    content: "";
    top: -1px;
    left: -3px;
    bottom: -1px;
    right: 0;
    background: #F9F9F9;
    border: 1px solid #E9E9E9;
    opacity: 0;
}
.side-form-checkbox:hover a:before {
    opacity: 1;
}

.side-form-checkbox img {
    vertical-align: 0;
}

.side-form-checkbox a {
    padding-left: 19px;
    text-decoration: none;
    display: block;
    white-space: nowrap;
}

.side-form-checkbox a.checked {
    background: url('/Content/Images/checked.png') 3px 3px no-repeat;
}

.side-form-sublevel {
    margin-left: 15px;
}

/* Fixed column (begin) */
#main>.row {
    display: table;
    width: 100%;
}

#main>.row>.side-column, #main>.row>.content-column {
    display: table-cell;
    vertical-align: top;
}

#main>.row>.side-column {
    position: relative;
    width: 162px;
}

#main>.row>.content-column {
    padding: 0 10px 0 10px;
}

@media (max-width: 767px) {
    #main>.row {
        display: block;
        width: 98%;
        margin: 0 auto;
    }

    #main>.row>.side-column, #main>.row>.content-column {
        display: block;
        width: 100%;
        padding: 0;
    }

    #resource-list {
        margin: 0 0 0 0 !important;
    }

    #resource-list li {
        margin: 0 0 10px 10px !important;
    }
}

/* Fixed column (end) */
.top-bar {
    padding-right: 10px;
}

.top-bar select {
    vertical-align: top;
}

#thumbnails-sortBy {
    margin-right: 15px;
}

.perPage-list, #thumbnails-perPage {
    margin-left: 15px;
    width: 75px;
}

.content-column nav {
    margin: 5px 0 10px;
}

.content-column nav .nav-count {
    margin: 5px 10px 0 0;
}

.content-column .pagination,
.container .pagination {
    margin: 0;
}

.pagination li img {
    vertical-align: top;
    padding-top: 2px;
}

.pagination > .active > a, .pagination > .active > span,
.pagination > .active > a:focus, .pagination > .active > span:focus {
    background-color: #f5f5f5;
    border-color: #ddd;
    color: #333;
}

.pagination>li>a, .pagination>li>span {
    padding: 7px 12px;
}

.ui-front {
    z-index: 1050 !important;
}

.similar-tasks {
    border: 1px solid #ddd;
    margin: 0 0 4px 4px;
    vertical-align: bottom;
    -moz-transition: border-color .3s ease-in-out;
    -o-transition: border-color .3s ease-in-out;
    -webkit-transition: border-color .3s ease-in-out;
    transition: border-color .3s ease-in-out;
    border-radius: 3px;
    padding: 2px;
}

.similar-tasks:hover {
    border-color:#08C;
}

.resource .cell-left {
    float: left;
}
.resource .cell-right {
    margin-left: 530px;
    min-width: 250px;
}

.resource .detail-table {
    max-width: 620px;
}

.resource .detail-table table {
    border-bottom: 1px solid #DDD;
    margin-bottom: 15px;
}

.resource h4 {
    margin-bottom: 10px;
}

/* user theme */

.user-theme-image a {
    border: 1px solid #DDDDDD;
    display: block;
    overflow: hidden;
}

.user-theme-item {
    margin: 10px 50px 30px 0; 
    float: left;
}

.user-theme-image .media-image {
    border: 0 none;
}

.theme-meta {
    margin-top: 5px;
    width: 200px;
    float: left;
}

.user-theme-meta {
    margin-top: 5px;
    width: 150px;
    float: left;
}

.user-theme-meta-buttons {
    float: right;
}

.user-theme-edit, .user-theme-delete {
    width: 16px;
    height: 16px;
    float: left;
}

.user-theme-edit a, .user-theme-delete a {
    display: block;
    width: 16px;
    height: 16px;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}

.user-theme-edit{
    background: #eee url('/Content/Images/icon-theme-edit.png') no-repeat;
}

.user-theme-delete{
    background: #eee url('/Content/Images/icon-theme-delete.png') no-repeat;
    margin-left: 4px;
}

.user-theme-name {
    font-size: 13px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-theme-cms {
    margin-top: -2px;
    font-size: 11px;
    overflow: hidden;
    white-space: nowrap;
    min-height: 20px;
    display: inline;
}

.user-theme-status {
    overflow: hidden;
    white-space: nowrap;
    min-height: 20px;
    float: right;
}

.theme-price {
    margin-top: 10px;
    float: right;
}

.theme-price > div {
    font-size: 14px;
    font-weight: bold;
    overflow: hidden;
    text-align: right;
    width: 45px;
    white-space: nowrap;
}

.theme-free {
    color: #22B14C;
}

.theme-commercial {
    color: #333;
}

/* user theme end */

/* new theme-section grid */
.thumbnail-item {
    padding-bottom: 20px;
}

.theme-section-meta {
    margin: 10px;
    width: 210px;
    float: left;
}

.theme-section-image a {
    width: 300px;
    max-height: 300px;
    overflow: hidden;
}

.thumbnail-item-large .theme-section-image a {
    width: 622px;
}

.theme-section-image a.thumbnail {
    margin-bottom: 0px;
    border: 0 none;
    box-shadow: 0 1px 1px #dedede;
    padding: 0px;
    border-radius: 0px;
}
/* new theme-section grid end */

.create-button,
.create-button:link,
.create-button:focus,
.create-button:visited,
.create-button:active,
.create-button:hover {
    background-color: #5ca1e6;
    border-radius: 8px;
    border-bottom: 3px solid #8dBded;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    padding: 10px 35px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
}

.create-button-disabled,
.create-button-disabled:link,
.create-button-disabled:focus,
.create-button-disabled:visited,
.create-button-disabled:active,
.create-button-disabled:hover {
    background-color: #AED0F2;
    border-radius: 8px;
    border-bottom: 3px solid #AED0F2;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    padding: 10px 35px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    pointer-events: none;
    cursor: default;
}

.create-button:hover {
    background-color: #62ADF7;
}

@media (max-width: 850px) {
    .resource .cell-left {
        float: none;
        margin-left: 15px;
    }
    .resource .cell-right {
        margin-left: 15px;
        min-width: 0;
    }
}

.account-form-alert {
    margin: 10px auto;
}


.download-message-box {
    margin: 2px 0 0 0px;
    line-height: 24px;
}



#currentFilter {
    position: relative;
    font-size: 10px;
    line-height: 14px;
    margin-top: 0;
}

.clear-search {
    margin-left: 10px;   
}
.select-category {
    display: none !important;
}

/* header */

#top-navbar {
    background-color: #F9F9F9;
    border-bottom: 1px solid #E9E9E9;
}

#top-navbar ul.nav {
    padding-top: 15px;
}

@media (min-width: 767px)
{
    #top-navbar ul.nav li.dropdown:hover ul.dropdown-menu
    {
        display: block;
    }
}

#top-navbar .navbar-nav > .open > a, 
#top-navbar .navbar-nav > .open > a:hover, 
#top-navbar .navbar-nav > .open > a:focus {
    background-color: #C9E4F9;
    border-radius: 4px;
}

#top-navbar ul.nav > li:hover > a {
    background-color: #E2F0FC;
    border-radius: 4px;
}

#top-navbar ul.nav > li.active > a {
    background-color: #DAECFC;
    border-radius: 4px;
    padding-bottom: 8px;
}

#top-navbar .navbar-nav > li > a {
    padding-bottom: 10px;
    padding-top: 10px;
}

#top-navbar .navbar-nav > li > a:hover {
    text-decoration: none;
} 

#top-navbar ul.nav li img
{
    margin-right: 5px;
    vertical-align: -4px;
    max-width: 16px;
}

#top-navbar .dropdown-menu > li > a {
    padding: 3px 10px;
}

#top-navbar .dropdown-menu > li > a:hover,
#top-navbar .dropdown-menu > li > a:focus {
    background-color: #E2F0FC;
}

.navbar .navbar-brand {
    outline: none;
    position: relative;
    height: 65px;
}

.navbar-toggle {
    margin-top: 15px;
}

@media (max-width: 979px) {

    #currentFilter {
        padding-right: 0;
    }

    .navbar-nav {
        margin: 0;
    }

    .clear-search {
        margin-left: 3px;   
    }
}

.error-bar td {
    width: 270px;
    font-size: 13px;
} 

/* footer */

.footer {
    background-color: #EDEDED;
    border-top: 1px solid #DEDEDE;
}

.footer, .footer a {
color: #777777;
font-size: 13px;
}

.footer {
    min-height: 46px;
}

.footer > .row {
    margin-top: 15px;
}

.footer > .row > div {
    min-height: 0;
}

#footer-links {
    text-align: right;
    padding-top: 15px;
    padding-bottom: 12px;
}

#footer-links li {
    padding: 0 1px;
}

.footer-inline ul, .footer-inline ol {
    list-style: none;
    margin-left: -6%;
}

.footer-inline li {
    display: inline-block;
}

#footer-labels {
    font-size: 0;
    padding-top: 12px;
}

#footer-labels a {
    display: inline-block;
    margin: 3px 0 0 6px;
}

#footer-labels a:first-child {
    margin-left: 0;
}

@media (max-width: 1000px) {
    #footer-links, #footer-labels {
        text-align: center;
        width: 100%;
    }

    .footer-inline ul, .footer-inline ol {
        margin: 10px 0 0 0;
    }
}

@media (max-width: 767px) {
    #copyright, #footer-links, .content-column nav, #footer-labels  {
        text-align: center;
    }

    .footer-inline ul, .footer-inline ol {
        margin-left: 0;
    }

    div.categories {
        display: none !important;
    }

    .select-category {
        display: block !important;
        margin-bottom:10px;
    }
}

.table-user {
    min-width: 800px;
}

.table-user th {
    background-color: #F5F5F5;
}

.user-sub-paragraph {
    font-size: 17px;
}

.small-margin {
    margin-left: 10px;
}


.custom-heading, .custom-heading ul>li>a:after {
    border:3px solid #e9e9e9;
}

.custom-heading {
    position:relative;
    border-top:none;
    border-left:none;
    border-right:none;
    margin: 15px 0;
}

.custom-heading h3 {
    margin: 0;
}

.custom-heading ul>li, .custom-heading ul>li>a {
    display: inline-block;
}


.custom-heading ul>li>a {
    font-size: 14px;
    position:relative;
    padding:18px 22px;
    text-decoration:none;
}

.custom-heading ul>li>a:hover {
    background-color:#efefef;
}

.custom-heading > ul > li.active > a, .custom-heading ul>li>a:hover {
    color: #333;
}

.custom-heading ul>li.active>a:after {
    display:block;
    position:absolute;
    content:"";
    border-bottom:none;
    height:6px;
    bottom:0;
    left:0;
    right:0;
    background-color:#dedede;
}

.custom-heading ul {
    position: relative;
    margin:0 0 -3px 0;
}

.rating-badge, .reputation-badge {
    display: inline-block;
    min-width: 20px;
    margin-left: -10px;
    text-align: right;
    color: #808080;
    font-size: 16px;
    padding: 0 10px;
}

.reputation-plus {
    color: #22b14c;
}

.reputation-minus {
    color: #cc0000;
}

.reputation {
    margin-top: 10px;
    text-align: center;
    width: 164px;
}

.reputation span {
    display: block;
    font-size: 220%;
    margin-bottom: 5px;
}

/* Tabs */
.nav-tabs {
    border-bottom: 1px solid #E9E9E9;
    height: 50px;
    margin-bottom: 12px;
}

.tab-text {
    font-family: 'Myriad Pro', 'Trebuchet MS', sans-serif;
    float: left;
}

.tab-button {
    float: left;
    width: 86px;
    margin-left: 10px;
    text-align: center;
    padding: 14px 0 17px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    color: #08c;
}

.tab-button:last-child {
    margin-left: 0;
}

.tab-button-bottom-border {
    position: absolute;
    width: 84px;
    border: 1px solid #dedede;
    height: 4px;
    bottom: -13px;
    background-color: #dedede;
    transition: all .2s ease-in-out;
}

.tab-button-active {
    color: #333;
}

.tab-button-active .tab-button-bottom-border {
    bottom: 1px;
}

.tab-button:hover {
    background: #efefef;
}

.nowrap 
{
    white-space: nowrap;
}

.user-balance {
    min-height: 30px;
}

/* start large styled tabs */
.nav.nav-pills.theme-styled-tabs {
    padding: 0;
    height: auto;
    border:none;
    margin: 10px 0;
}

.nav.nav-pills.theme-styled-tabs>li>a, .nav.nav-pills.theme-styled-tabs>li>span {
    margin: 5px 5px 5px 0;
    min-height: 100%;
    padding: 15px;
    min-width: 110px;
    text-align: center;
    background-color: transparent;
    border: 1px solid transparent;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    line-height: 14px;
    display: block;
}

.nav.nav-pills.theme-styled-tabs>li.active>span,
.nav.nav-pills.theme-styled-tabs>li.active>a,
.nav.nav-pills.theme-styled-tabs>li>a:hover{
    background-color: #F5F5F5 !important;
    border: 1px solid #E3E3E3 !important;
    color: #808080 !important;
}
/* end large styled tabs */
/* start jquery.dlg.css */
.dialog {
    border-radius: 3px;
    box-shadow: 0 0 7px 1px rgba(0, 0, 0, .4);
    color: #505050;
    font: 13px/1.4 Arial;
    background: white;
    z-index: 9999;
    max-width:90%;
    min-width:200px;
    position: relative;
    display:none;
    vertical-align: middle;
}

.dialog-wrapper{
    position: fixed;
    top:0;
    left:0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    text-align: center;
    background-color: rgba(0, 0, 0, .5);
    overflow: auto;
    display:none;
}

.dialog-wrapper:after {
    content: "";
    width:0;
    height:100%;
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

/*html {
    overflow: hidden;   
    -webkit-overflow-scrolling: touch;
}

body{
    overflow:auto;
}*/


html.dialog-showed .dialog-wrapper{
    display: block;
}

.dialog.dialog-showed {
    display: inline-block;
}

.dialog-header,
.dialog-content {
    text-align: left;
}

.dialog a {
    color: #4F95DB;
    text-decoration: none;
}

.dialog a:hover {
    text-decoration: none;
}

.dialog-header,
.dialog-content {
    padding: 20px;
}

.dialog-header {
    font-size: 16px;
    font-weight: bold;
    padding-bottom: 0;
    position: relative;
}
/* end jquery.dlg.css */
/* start dialog custom styles */
.dialog-close {
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QTYwRkFDOEI5RTIyMTFFM0JDNjRENEM5MkQwNjRFODgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QTYwRkFDOEM5RTIyMTFFM0JDNjRENEM5MkQwNjRFODgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpBNjBGQUM4OTlFMjIxMUUzQkM2NEQ0QzkyRDA2NEU4OCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpBNjBGQUM4QTlFMjIxMUUzQkM2NEQ0QzkyRDA2NEU4OCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Poe7Sp4AAAEuSURBVHjapJNNTsJQFIXbhkDSoctgBQwcECKJQkdMSKxMGDFyCSRugTX4E2MimsboHFyKG7AM1Xpu/WpeXigMeMnH7b3vntNHc19YFEVwyAqzLLN4I07FhXjd0X8mrsWbSJMkCSI9GCNxJJY01YmX9I3QlT8/Yiq+RUs8iYEnHlBv0TdF9+eidScmbDZ505C9IXmT/Qn9gWtQmaSOyaO4Ilbi1BXbanhHvedot4jm1L/EuXjwP0y05WNZ08yrzbaJ6wxiMfZqY+p7DazpWfTJP4l96vEuA9u0qTohfxdtYkA9800iR/wieuRrBueDuKbeoy/2DWxIuo7YBicnz8krky79/wah6JCveGPu/dWc+oq8g66cA7uOiTgWC7GpuQsbTnLJacprHB56nX8FGAAbiUarj0/0sgAAAABJRU5ErkJggg==) center center no-repeat;
    cursor: pointer;
    height: 16px;
    right: 20px;
    position: absolute;
    top: 20px;
    width: 16px;
}

.dialog-footer {
    text-align: center;
    background-color: #F6F6F6;
    padding: 12px 0;
    border-radius: 3px;
}
/* end dialog custom styles */
/* start login dialog */
#login_dialog  .dialog-content {
    padding-top: 0;
    padding-bottom: 0;
    width: 470px;
    height: 355px;
    overflow: hidden;
}

#login_frame {
    width: 100%;
    height: 100%;
    border: 0;
}

#login_dialog .dialog-footer a {
    font-size: 0;
}

#login_dialog .dialog-footer img {
    width:70px;
    height:20px;
    margin-left:0;
}
/* end login dialog */
/* start home-btn (like a home page)*/
.home-btn {
    text-align: center;
    font-weight: 400;
    font-family: "Open Sans", "Arial", "Tahoma", "Verdana", "sans-serif";
    font-size: 19px;
    display: inline-block;
    position: relative;
    z-index: 0;
    padding: 13px 30px 13px;
    margin: 0 30px -4px;
    text-transform: uppercase;
    vertical-align: bottom;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #ffffff !important;
    background-color: #fff;
    min-width: 100px;
    border: none !important;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}

.home-btn, .home-btn:hover  {
    cursor: pointer;
    text-decoration: none !important;
}

.home-btn:after, .home-btn:before
{
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: -1;
}

.home-btn, .home-btn:after, .home-btn:before {
    border-radius: 5px;
}

.home-btn:before, .home-btn:after {
    background: #0093D9;
}

.home-btn:before {
    bottom: 4px;
}

.home-btn:after {
    opacity:0.75;
    z-index: -2;
}

.home-btn:hover:before {
   opacity:0.84;
}

.home-btn:hover:after {
    opacity:0.68;
}


.disabled .home-btn, .home-btn.disabled {
    color: #eee !important;
    cursor: default;
}

.disabled .home-btn:before, .home-btn.disabled:before,
.disabled .home-btn:after, .home-btn.disabled:after {
    background-color: #ccc;
}
/* end home-btn */
/* start default-button form designer-dialogs */
.default-button
{
    display: inline-block;
    position: relative;
    z-index: 0;
    font-family: 'Open Sans',"Trebuchet MS","Tahoma","Verdana","Arial","sans-serif";
    font-size: 15px !important;
    font-weight: normal;
    line-height: 40px;
    white-space: nowrap;
    letter-spacing: 1px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    border-width: 0;
    cursor: pointer;
    border-radius: 5px;
    min-width: 100px;
    margin: 0;
    padding: 0 15px;
    color: #ffffff !important;
    background: #3087df;
}

.default-button:hover {
    background: #5CA1E6;
}


.default-button:focus {
    outline: none;
}
/* end default-button */
.custom-divider {
    height: 35px;
    width: 1px;
    margin: 3px 5px;
    border-right: 1px dotted #999;
}

@media (max-width: 767px) {
    .custom-divider {
        height: 1px;
        width: 100%;
        border-top: 1px dotted #999;
        border-right: 0px none;
    }
}

.postcontent img {
    border: 1px solid #dbdbdb !important;
    border-radius: 5px;
    display: block;
    height: auto;
    max-width: 100%;
}

.wmd-preview p img {
    border: 1px solid #dbdbdb !important;
    border-radius: 5px;
    display: block;
    height: auto;
    max-width: 100%;
}

