@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i|Tinos:400,400i,700,700i&subset=cyrillic,cyrillic-ext');

.ui-dialog-content{
    width: 200px;
    overflow: scroll;
}
.ui-tooltip, .ui-dialog-content
{
    font-size: 10pt;
    line-height: 11pt;
    text-align: justify;
}

.ui-tooltip p
{
    text-indent: 0pt;
}

.ui-tooltip em, .ui-dialog-content  em
{
    color: antiquewhite !important;
    font-weight: bold;
}
.ui-tooltip .add-info
{
    padding-top: 5px;
    font-style: italic;
}

body .ui-tooltip, .ui-tooltip.ui-widget, .arrow:after {
    box-shadow: none;
    background: #333333;
    color: #FFF;
    text-align: justify;
    padding: 7px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid white;
}
body .ui-tooltip {
    padding: 3px 5px;
    max-width: 350px;
    font-size: 12px;
    font-family: sans-serif;
    text-align: left;
    display: inline-block;
    border-radius: 3px;
    box-shadow: 0 0 2px black;
}
.ui-tooltip .arrow {
    width: 60px;
    height: 16px;
    font-size: 2px;
    overflow: hidden;
    position: absolute;
    left: 50%;
    margin-left: -35px;
    bottom: -16px;
}
.arrow.top {
    top: -16px;
    bottom: auto;
}
.arrow.left {
    left: 20%;
}
.ui-tooltip .arrow:after {
    content: "";
    position: absolute;
    left: 20px;
    top: -20px;
    width: 10px;
    height: 10px;
    box-shadow: 6px 5px 9px -9px black;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    tranform: rotate(45deg);
}
.arrow.top:after {
    bottom: -20px;
    top: auto;
}

.justified-gallery {
    margin: 20px 0px;
}

.justified-gallery > a, .justified-gallery > div {
    position: relative;
    display: inline-block;
    overflow: hidden;
    margin: 1px;
    max-width: 180px;
}

.justified-gallery > a.active {
    max-width: 100%;
    display: block;
}

.justified-gallery > * > img {
    -webkit-transition: -webkit-transform .15s ease 0s;
    -moz-transition: -moz-transform .15s ease 0s;
    -o-transition: -o-transform .15s ease 0s;
    transition: transform .15s ease 0s;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
    height: 100%;
    width: 100%;
}

.justified-gallery > * .gallery-overlay, .admin-buttons {
    background-color: rgba(0, 0, 0, .3);
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    opacity: 0;
    top: 0;
    -webkit-transition: background-color .15s ease 0s;
    -o-transition: background-color .15s ease 0s;
    transition: background-color .15s ease 0s;
}

.justified-gallery > *:hover .gallery-overlay,
.justified-gallery > *:hover .gallery-overlay > *,
.admin-buttons:hover, .admin-buttons:hover * {
    opacity: 1;
}

.justified-gallery > * .gallery-overlay > *, .admin-buttons > * {
    left: 50%;
    vertical-align: middle;
    margin-left: -10px;
    margin-top: -10px;
    opacity: 0;
    position: absolute;
    top: 50%;
    -webkit-transition: opacity .3s ease 0s;
    -o-transition: opacity .3s ease 0s;
    transition: opacity .3s ease 0s;
}

.basic-grey {
    margin: auto;
    max-width: 100%;
    display: inline-block;
    background: #F7F7F7;
    box-sizing: border-box;
    padding: 25px;
    color: #888;
    text-shadow: 1px 1px 1px #FFF;
    border: 1px solid #E4E4E4;
}


.spacer {
    width: 100%;
    display: block;
    height: 20px;
}

.basic-grey h1 {
    font-size: 25px;
    padding: 0px 0px 10px 40px;
    display: block;
    border-bottom: 1px solid #E4E4E4;
    margin: -10px -15px 30px -10px;;
    color: #888;
}

.basic-grey h1 > span {
    display: block;
    font-size: 11px;
}

.basic-grey label {
    display: block;
    margin: 0px;
}

.basic-grey label > span {
    float: left;
    width: 20%;
    text-align: right;
    padding-right: 10px;
    margin-top: 10px;
    color: #888;
}

.basic-grey input[type="password"], .basic-grey input[type="text"], .basic-grey input[type="email"], .basic-grey textarea, .basic-grey select {
    border: 1px solid #DADADA;
    color: #888;
    height: 30px;
    margin-bottom: 16px;
    margin-right: 6px;
    margin-top: 2px;
    outline: 0 none;
    padding: 3px 3px 3px 5px;
    width: 70%;
    font-size: 12px;
    line-height: 15px;
    box-shadow: inset 0px 1px 4px #ECECEC;
    -moz-box-shadow: inset 0px 1px 4px #ECECEC;
    -webkit-box-shadow: inset 0px 1px 4px #ECECEC;
}

.basic-grey textarea {
    height: 800px;
    padding: 5px 3px 3px 5px;
}

.basic-grey select {
    background: #FFF url('../images/down-arrow.png') no-repeat right;
    background: #FFF url('../images/down-arrow.png') no-repeat right);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 0.01px;
    text-overflow: '';
    width: 70%;
    height: 35px;
    line-height: 25px;
}

.basic-grey textarea {
    height: 100px;
}

.basic-grey .button {
    background: #E27575;
    border: none;
    padding: 10px 25px 10px 25px;
    color: #FFF;
    box-shadow: 1px 1px 5px #B6B6B6;
    border-radius: 3px;
    text-shadow: 1px 1px 1px #9E3F3F;
    cursor: pointer;
}

.basic-grey .button:hover {
    background: #CF7A7A
}

.basic-grey select.small, .basic-grey .date-input {
    max-width: 210px;
}

.no-text {
    font-size: 1px;
}

.panel {
    margin: 20px;
}


.submit-div {
    margin: 30px auto;
    text-align: center;
}
.element a {
    display: block;
}
.element {
    hyphens: auto;
}
.image-right {
float : right;
margin: 10px 0px 10px 10px;
}

.image-left {
    float : left;
    margin: 10px 10px 10px 0px;
}

.image-center {
    display: block;
    margin: 10px auto;
}


.content-highlighted {
    display:inline-block;
    background: #fff;
    padding: 15px 20px 15px 45px;
    margin: 0 0 20px;
    position: relative;

    /*Font*/
    font-size: 16px;
    line-height: 1.2;
    color: #666;
    text-align: justify;

    /*Borders - (Optional)*/
    border-left: 15px solid #353b85;
    border-right: 2px solid #353b85;

    /*Box Shadow - (Optional)*/
    -moz-box-shadow: 2px 2px 15px #ccc;
    -webkit-box-shadow: 2px 2px 15px #ccc;
    box-shadow: 2px 2px 15px #ccc;
}

.content-info {
    font-style: italic;
    padding: 10px;
    margin: 10px 0px;
    background: #f0f0f0;
    border: #d4d3d8 1px dashed;
    display: inline-block;
    font-size: 80%;
}
.blue-button {
    font-size: 14px;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    border: 0;
    border-radius: 18px;
    background: #4d56c1;
    display: inline-block;
}
.padding-60 {
    margin-bottom: 30px;
}
.page-wrapper {
    display: inline-block;
    width: 100%;
}
#tinymce {
font-family: 'Open Sans', sans-serif;
font-size: 14px;
color: #333333;
}

#tinymce p, .page-wrapper p {
    margin: 10px 0px;
    text-align: justify;
    line-height: 150%;
}
.page-wrapper a {
    /*color: #353b85;*/
    border-bottom: #4d56c1 1px solid;
    /*font-weight: 800;*/
    text-decoration: none;
}

.page-wrapper a:hover {
    color: #4d56c1;
}
.photo-author {
    display: block;
    text-align: right;
}
.page-wrapper p.solid {
    margin: 0px;
}
h3, .lead {
    font-size: 1.17em;
    margin: 15px 0px;
}
blockquote {
    font-family: Georgia, serif;
    font-size: 18px;
    font-style: italic;
    display: block;
    margin: 0.25em 40px;
    padding: 0.25em 40px;
    line-height: 1.45;
    position: relative;
    color: #383838;
}
@media (max-width: 780px) {
    blockquote {
        margin: 0.25em 0px;
        padding: 2.25em 0px;
    }
    blockquote:before {
        left: -10px;
    }
}
blockquote:before {
    display: block;
    content: "\201C";
    font-size: 80px;
    position: absolute;
    left: -20px;
    top: -20px;
    color: #7a7a7a;
}

blockquote cite {
    color: #999999;
    font-size: 14px;
    display: block;
    margin-top: 5px;
}

blockquote cite:before {
    content: "\2014 \2009";
}
