#navigation ul li a:hover, #navigation ul li a.active, #navigation ul li a.hover {
    border-radius: 5px;
    box-shadow: 0 0 1px 1px #3c7bbe;
    text-decoration: none;}

#left-adv{margin-bottom: 25px;}
.sa-site .post .more{color: #3c7bbe}
.search-block{width: 980px; height: 70px; margin: 0 auto}
.search-field{margin-left: 10px; width: 417px; display:inline-block;position: relative; border-radius: 5px;float: right}
.search-block select{height: 38px; border-radius: 5px; background-color: white;
    width: 150px;
    border: none;
    padding-left: 5px;  }

.search-block select:hover {}

.search-block input{height: 38px; width: 355px; padding-left: 10px; border-radius: 5px; border: none;}
.search-block .search-btn{width: 40px; height: 40px; border: none;
    float: right;
    padding: 0;
    border-radius: 5px;
    background: url("/skin/sa/css/images/search-mag.png") no-repeat;
    background-size: 100%;
    cursor: pointer;}
.search-block .search-btn:hover {background-color: #ffffff}
.search-block .search-btn:hover{background-position: 0 bottom;text-decoration: none; cursor: pointer}
#resSearch{position:absolute; width: 360px; border: 1px solid #ccc; background-color: #f5f5f5;margin-left: 3px;}
#resSearch .live-search{padding-left: 10px;}
#resSearch a:hover{text-decoration: none;}
#resSearch .live-search:hover {background-color: #3c7bbe; color: white;}
.sa-site #content{float: left}
.sa-site #sidebar{float:right;}

#contacts {width: 600px;float: left}

#contacts .form-column {
    max-width: 300px;
    float:right
}

#contacts .contact-column {
    max-width: 280px;
    float:left;
    margin-right: 20px;
}

#contacts .contact-column h3 {
    border-top: 5px solid #e4e4e4;
    padding-top: 5px;
    margin-top: 11px;
}

#contacts .contact-column h1,
#contacts .contact-column h2,
#contacts .contact-column h3,
#contacts .contact-column p {
    margin-bottom: 10px;
    font-weight: normal;
}

.contact-column a img {
    width: 45%;
    padding-top: 10px;
}

#send-status {
    text-align: center;
    margin-bottom: 30px;
}

.status-msg-success {
    color: green;
    background-color: rgba(112, 211, 139, 0.2);
    padding: 10px 5px 10px 5px;
    border-radius: 5px;
}

.status-msg-error {
    color: red;
    background-color: rgba(255, 30, 50, 0.20);
    padding: 10px 5px 10px 5px;
    border-radius: 5px;
}

#contact-form {
    /*background-color:#F2F7F9;*/
    padding:20px;
    margin: auto;
    border: 2px solid #3c7bbe;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border-radius:5px;
    position:relative;
}

#contact-form input,
#contact-form select,
#contact-form textarea,
#contact-form label {
    margin-bottom:2px;
}

#contact-form input,
#contact-form select,
#contact-form textarea {
    width:240px;
    border: 1px solid #3c7bbe;
    margin-bottom:20px;
    padding:4px;
    border-radius: 5px;
}

#contact-form input:focus,
#contact-form select:focus,
#contact-form textarea:focus {
    border: 1px solid #3c7bbe;
    background-color: #EBF2F4;
}

#contact-form textarea {
    height:150px;
    resize: none;
}

#contact-form label {
    display:block;
}

#contact-form .required {
    font-weight:bold;
    color:#F00;
}

#contact-form #submit-button {
    width: 100px;
    height: 30px;
    color:#FFF;
    border:none;
    display:block;
    float:right;
    margin-bottom:0px;
    margin-right:6px;
    background-color: #3c7bbe;
    border-radius:5px;
}

#contact-form #submit-button:active {
    position:relative;
    top:1px;
}

#contact-form #loading {
    width:32px;
    height:32px;
    background-image:url(../img/loading.gif);
    display:block;
    position:absolute;
    right:130px;
    bottom:16px;
    display:none;
}

#errors {
    border:solid 1px #E58E8E;
    padding:10px;
    margin:25px 0px;
    display:block;
    width:437px;
    -webkit-border-radius:8px;
    -moz-border-radius:8px;
    border-radius:8px;
    background:#FFE6E6 url(../img/cancel_48.png) no-repeat 405px center;
    display:none;
}

#errors li {
    padding:2px;
    list-style:none;
}

#errors li:before {
    content: ' - ';
}

#errors #info {
    font-weight:bold;
}

#errors #info:before {
    content: '';
}

#success {
    border:solid 1px #83D186;
    padding:25px 10px;
    margin:25px 0px;
    display:block;
    width:437px;
    -webkit-border-radius:8px;
    -moz-border-radius:8px;
    border-radius:8px;
    background:#D3EDD3 url(../img/accepted_48.png) no-repeat 405px center;
    font-weight:bold;
    display:none;
}

#errors.visible, #success.visible {
    display:block;
}

#req-field-desc {
    font-style:italic;
    font-size:11px;
}

/* Remove box shadow firefox, chrome and opera put around required fields. It looks rubbish. */
input:required, textarea:required {
    -moz-box-shadow:none;
    -webkit-box-shadow:none;
    -o-box-shadow:none;
    box-shadow:none;
}

/* Normalize placeholder styles */

/* chrome, safari */
::-webkit-input-placeholder {
    color:#CCC;
    font-style:italic;
}

/* mozilla */
input:-moz-placeholder, textarea:-moz-placeholder {
    color:#CCC;
    font-style:italic;
}

/* ie (faux placeholder) */
input.placeholder-text, textarea.placeholder-text  {
    color:#CCC;
    font-style:italic;
}

input, textarea, select {
    font-size: 13px; }

.search-border {
    padding: 10px 10px 10px 10px;
    background: #3c7bbe;
    width: 580px;
    display: inline-block;
    border-radius: 5px;
}

#top-ad {width: 980px; margin: 0 auto;  margin-bottom: 20px;}

/*////////////////////////////////////////////////////////////////*/

.grid {
    position: relative;
    margin: 0 auto;
    padding: 1em 0 4em;
    max-width: 1000px;
    list-style: none;
    text-align: center;
}

/* Common style */
.grid figure {
    position: relative;
    float: left;
    overflow: hidden;
    margin: 10px 1%;
    width: 275px;
    height: 214px;
    background: #3085a3;
    text-align: center;
    cursor: pointer;
}

.grid figure img {
    position: relative;
    display: block;
    min-height: 100%;
    max-width: 100%;
    opacity: 0.8;
}

.grid figure figcaption {
    padding: 2em;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.25em;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
    pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
    z-index: 1000;
    text-indent: 200%;
    white-space: nowrap;
    font-size: 0;
    opacity: 0;
}

.grid figure h2 {
    word-spacing: -0.15em;
    line-height: 25px;
    background-color: rgba(0,0,0,.6);
    padding: 10px 30px;
}

.grid figure h2 span {
    font-size: 19px;
}

/*.grid figure h2 span {
    font-weight: normal;
}*/

.grid figure h2,
.grid figure p {
    margin: 0;
}

.grid figure p {
    letter-spacing: 1px;
    font-size: 80%;
}

/*---------------*/
/***** Layla *****/
/*---------------*/

figure.effect-layla {
    background: #333;
}

figure.effect-layla img {
    height: 300px;
}

/*figure.effect-layla figcaption {
    padding: 3em;
}*/

figure.effect-layla figcaption::before,
figure.effect-layla figcaption::after {
    position: absolute;
    content: '';
    opacity: 0;
}

figure.effect-layla figcaption::before {
    top: 30px;
    right: 10px;
    bottom: 30px;
    left: 10px;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    -webkit-transform: scale(0,1);
    transform: scale(0,1);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
}

figure.effect-layla figcaption::after {
    top: 10px;
    right: 30px;
    bottom: 10px;
    left: 30px;
    border-right: 1px solid #fff;
    border-left: 1px solid #fff;
    -webkit-transform: scale(1,0);
    transform: scale(1,0);
    -webkit-transform-origin: 100% 0;
    transform-origin: 100% 0;
}

figure.effect-layla h2 {
    margin-top: 10%;
    -webkit-transition: -webkit-transform 0.35s;
    transition: transform 0.35s;
    color: white;
}

figure.effect-layla h2 {
color: white !important;
}

figure.effect-layla p {
    padding: 0.5em 2em;
    text-transform: none;
    opacity: 0;
    -webkit-transform: translate3d(0,-10px,0);
    transform: translate3d(0,-10px,0);
}

figure.effect-layla img,
figure.effect-layla h2 {
    -webkit-transform: translate3d(0,-20px,0);
    transform: translate3d(0,-20px,0);
}

figure.effect-layla img,
figure.effect-layla figcaption::before,
figure.effect-layla figcaption::after,
figure.effect-layla p {
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
}

figure.effect-layla:hover img {
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

figure.effect-layla:hover figcaption::before,
figure.effect-layla:hover figcaption::after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}

figure.effect-layla:hover h2,
figure.effect-layla:hover p {
    opacity: 1;
    background-color: rgba(0,0,0,0);
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

figure.effect-layla:hover figcaption::after,
figure.effect-layla:hover h2,
figure.effect-layla:hover p,
figure.effect-layla:hover img {
    -webkit-transition-delay: 0.15s;
    transition-delay: 0.15s;
}


.app-block *, .app-block *:after, .app-block *:before { -webkit-box-sizing: border-box; box-sizing: border-box; }
.app-block .clearfix:before, .app-block .clearfix:after { display: table; content: ''; }
.app-block .clearfix:after { clear: both; }

.effect-layla{color: white;}
/*********************************/

.pop-word div:first-child{
    width: 145px;
    display: inline-block;
    float: left;
    font-size: 12px;
}
.pop-word div:last-child{
    width: 125px;
    display: inline-block;
    font-style: italic;
    font-size: 12px;
}


#resSearch{overflow-y: scroll; max-height: 150px; z-index: 99999;}


/*Footer*/
.sa-footer {min-width: 100%; position: absolute; height: 222px; background-color: #3c7bbe; margin-top: 50px;}

.footer-container {width: 980px; margin: 0 auto}

.footer-center, .footer-right {
    width: 50%;
    float: left;
    height: 200px;
    color: #ffffff;
    border-radius: inherit;
}

.sa-footer .rectangle {
    color: #3c7bbe;
    width: 208px;
    height: 40px;
    background-color: #ffffff;
    margin: 0 auto;
    line-height: 0.3;
    border-radius: 5px;
    text-align: center;
    margin-top: 15px;
    padding: 5px 0;
}

.sa-footer .footer-left .rectangle .footer-title p,
.sa-footer .footer-center .rectangle .footer-title p,
.sa-footer .footer-right .rectangle .footer-title p {
    font-weight: normal;
}

.footer-left .footer-title {padding-top: 10px}
.footer-right .footer-title {padding-top: 10px}
.footer-title {width: 150px; margin: 0 auto; line-height: 18px;}

/*social-links*/
.sa-footer .social-link
{margin: 20px 0 0 0;}

.sa-footer .social-link .icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.sa-footer .social-link .title {
    width: 90px;
    color: #ffffff;
    float: right;
    text-align: left;
    margin-top: 5px}

.sa-footer .social-link .link {
    width: 130px;
    margin: 0 auto;}

/*Vk*/
.vk .icon{background-image: url("images/footer/vk30px.png")}
/*Fb*/
.fb .icon{background-image: url("images/footer/F30px.png")}
/*Li*/
.ln .icon{background-image: url("images/footer/in30px.png")}

/*Android market*/
.sa-footer .android-market .link{margin-top: 25px;}
.sa-footer .android-market .icon{transition: all 0.5s ease; margin: 0 auto; width: 100px; height:100px; background-repeat: no-repeat; background-size: 100px; background-image: url("images/footer/GooglePlay-Icon.png")}
.sa-footer .android-market .icon:hover{-webkit-transform: scale(0.9);-ms-transform: scale(0.9);transform: scale(0.9);}
/*contacts*/
.sa-footer .contact-block{margin: 20px 0 0 0;padding-left: 144px;}
.sa-footer .contact-block div{text-align: left; margin: 0 auto; padding-right: 20px;}
.sa-footer .footer-right .contact-block div a,
.sa-footer .footer-right .contact-block div a:hover {color: #ffffff;}

.slider-left h2 {font-size: 20px; font-weight: normal; color: #4c4c4c; margin-bottom: 13px; padding-bottom: 3px; border-bottom: 1px dotted #CCCCCC;}

.slider-left p { font-size: 13px; line-height: 20px; color: #4c4c4c;}

.slider-text {
    display:inline-block;
    position:relative;

}
.slider-text p {
    display:inline-block;
    position:absolute;
    top:130px;
    left:40px;

    /* Оформление текста */
    color:#FFF;
    font-size:18px;
    text-transform: uppercase;
    text-align: center;

    /* Фон*/
    background-color:rgba(0,0,0,.6);
    padding:10px 30px;
}
div.live-search{cursor: pointer}


.search-result{position: relative;
    height: 70px;}
.search-result div{display: inline-block; position: absolute}

.dictionary-small-icon{
    right: 0px;
}

.dictionary-small-icon img{
    width: 70%;
    float: right;
}

.dictionary-title {
    font-weight: 700;
    font-size: 20px;
    right: 150px;
    top: 9px;
    color: rgb(74, 74, 74);
}

.word-result{width: 150px; bottom: 0px; color:#458B00;}


.accentword-result{font-style: italic;}



/*SYMBOL COLORS*/
.dic-symbol{color:#EE0000; font-weight: bold}
.dic-symbol-parag-numbers{color:#4169E1;font-weight: bold }
.symbol-number{color:#458B00;}


#main{}
.ad-word-search-page{margin-top: 45px;}
#site-container{width: 980px; margin: 0 auto; min-height: 900px; padding-left: 5px;}
#site-container #sidebar, #site-container .shell, #site-container .search-block{display: inline-block}
#site-container .search-block, #site-container .shell{width: 600px}

#content .search-word .search-result{width: 600px}
#content .search-word .separate{  border-bottom: solid 1px #ccc;
    margin-bottom: 15px;
    width: 600px;}

.word-result, .definition-result{padding-left: 15px}
#rights{text-align: center; font-size: 10px; width: 33%; float: right; color: #ffffff}
#inmassive {text-align: right; font-size: 10px; padding-right: 5px; width: 33%; float: right;}
#inmassive a{color:#ccc;}


.sa-site #sidebar .post { padding: 0 18px 0 0; }
.mpw{padding-left: 10px;padding-top: 7px; padding-bottom: 5px; border: 2px solid #3c7bbe; border-radius: 5px; width: 266px; height: 246px;}
.mpw h2{margin-bottom: 7px}

.word-list {width: 275px;}

.post a img.google-icon {
    width: 108px;
    float: right;
}

.sa-site h1#logo{
    float: left;
    display: inline;
    width: 175px;
    height: 80px;
    margin: 10px 0 0 12px;
}

.sa-site h1#logo a {
    display: block;
    height: 80px;
    background: url(images/logo.png) no-repeat 0 0;
    background-size: 205px;
    background-position: 0px
}

/* Games menu */

#navigation li.double-nav{
    position: relative;
}
#navigation li.double-nav:hover .sub-nav{ display: block;}

#navigation .sub-nav{
    display: none;
    position: absolute;
    border-radius: 5px;
    box-shadow: 0 0 1px 1px #3c7bbe;
    text-decoration: none;
    width: 100%;
    background: white;
}

#navigation .sub-nav li{
    display: block;
    float: inherit;
    width: 100%;
    border-bottom: 1px solid #3c7bbe;
    text-align: center;
}

#navigation .sub-nav li a:hover{
    background: #3c7bbe;
    color: white;
}

#navigation .sub-nav li.last-item{
    border: none;
}

/** Games */

.sa-site #game-2048, .sa-site #flappy{
    background: white;
}

.sa-site #game-2048 .game-container,
.sa-site #flappy .game-container{
    background: #3c7bbe;
}
