/* ================ стили хедара ================ */
.header {
    background: url(/img/template/bg.jpg);
}

.theme-purple .header {
    background: #3e1865;
}

.header > div {
    /*height: 290px;
	line-height: 290px;*/
}

.header img {
    vertical-align: top;
}

.theme-purple .logo span {
    color: #fff;
    font-size: 56px;
    vertical-align: bottom;
    line-height: 70px;
}

.social {
    display: inline-block;
    background: url(/img/template/social_icons_2.png);
    width: 42px;
    height: 42px;
    margin: 5px 5px 10px;
    border-radius: 50%;
    vertical-align: bottom;
}

.theme-purple .social {
    background: url(/img/template/social_icons_purple.png);
}

.social.vk {
    background-position-x: -42px
}

.theme-purple .menu-btn,
.theme-purple .sidebar-right {
    min-height: 800px;
}

.theme-purple .menu-btn {
    background-image: url(/img/template/left-col-bg.png);
    background-repeat: no-repeat;
    background-size: 94px 670px;
    background-position: 48% 99px;
}

.left-btn, .right-btn {
    vertical-align: middle;
    text-align: center;
    font-weight: bold;
    line-height: 1;
    width: 66px;
    margin: 35px auto 45px;
}

.theme-purple .left-btn, .theme-purple .right-btn {
    margin: 35px auto 56px;
    color: #fff;
}

.icon-search a, .icon-mychoose a {
    color: #333;
}

.theme-purple .icon-search a, .theme-purple .icon-mychoose a {
    color: #fff;
}

.theme-purple .icon-search span,
.theme-purple .icon-mychoose span {
    display: inline-block;
    width: 52px;
    height: 51px;
}

.theme-purple .icon-search span {
    background-image: url(/img/template/icon-search-purple.png);
}

.theme-purple .icon-mychoose span {
    background-image: url(/img/template/icon-mychoose-purple.png);
}

.main {
    margin-top: 10px;
}

.highlight {
    color: #ffffff;
    background-color: #bc1e2c;
    padding: 3px 16px 16px 16px;
}

    .highlight .bcl {
        display: block;
        text-align: right;
        cursor: pointer;
        margin-bottom: 10px;
    }

.theme-purple .sidebar-right {
    background-image: url(/img/template/right-col-bg.png);
    background-repeat: no-repeat;
    background-size: 100px 670px;
    background-position: 66% 112px;
}

@media (max-width: 767px) {
    .header {
        background: none;
    }

        .header > div {
            height: 176px;
            line-height: 100px;
        }

    .theme-purple .logo span {
        font-size: 40px;
        line-height: 50px;
    }

    .social {
        width: 34px;
        height: 34px;
        background: url(/img/template/social_icons_mobile.png);
    }

    .theme-purple .social {
        background: url(/img/template/social_icons_purple_mobile.png);
    }

    .social.vk {
        background-position-x: -34px
    }

    .theme-purple .menu-btn,
    .theme-purple .sidebar-right {
        min-height: auto;
        background: none;
    }

    .theme-purple .left-btn {
        margin: 7px 45px 20px 0;
        color: #3e1865;
    }

    .left-btn {
        display: inline-block;
        position: relative;
        margin: 7px 45px 20px 0;
    }

    .icon-mychoose {
        top: 8px;
    }

    .theme-purple .icon-search span {
        background-image: url(/img/template/icon-search-purple-mobile.png);
    }

    .theme-purple .icon-mychoose span {
        background-image: url(/img/template/icon-mychoose-purple-mobile.png);
    }

    .left-btn img {
        vertical-align: middle;
    }

    .theme-purple .left-btn.icon-logo img {
        width: 100%;
    }

    .navbar-header {
        display: inline-block;
    }

    .right-btn {
        display: none;
    }
}

@media (max-width: 560px) {
    .header > div {
        /*width: 100%;*/
        height: auto;
        line-height: 8 0px;
    }

    .theme-purple .logo img {
        width: 140px;
        height: auto;
    }
}

@media (max-width: 500px) {
    .header img {
        max-width: 100%;
    }

    .theme-purple .left-btn,
    .left-btn {
        margin-right: 0;
    }
}

/* ================ стили кнопки главного меню ================ */

.navbar-header {
    display: none;
    vertical-align: middle;
}

    .navbar-header > div {
        display: block;
        width: 100%;
        text-align: center;
        font-weight: bold;
    }

    .navbar-header button {
        float: none;
        margin: 0;
        padding: 1px 5px;
        border-radius: 0;
    }

.theme-main .navbar-header button {
    border: 4px solid #bc1e2c;
}

.theme-red .navbar-header button {
    border: 4px solid #bc1e2c;
}

.theme-orange .navbar-header button {
    border: 3px solid #ea8a00;
}

.theme-purple .navbar-header button {
    border: 4px solid #3e1865;
}

.theme-green .navbar-header button {
    border: 4px solid #016a15;
}

.theme-green .menu {
    height: 42px;
    margin: 10px 0 0;
    padding: 0 15px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    background-color: #016a14;
}

    .theme-green .menu a {
        line-height: 42px;
        color: #fff;
    }

button span {
    margin: 4px 0 !important;
    width: 32px !important;
    height: 4px !important;
}

.theme-main button span {
    background: #bc1e2c;
}

.theme-red button span {
    background: #bc1e2c;
}

.theme-green button span {
    background: #016a15;
}

.theme-orange button span {
    background: #ea8a00;
}

.theme-purple button span {
    background: #3e1865;
}

@media (max-width: 767px) {
    .navbar-header {
        display: inline-block;
    }

    /*.theme-green .navbar-header {
        float: right;
    }

        .theme-green .navbar-header button {
            margin: 1px 0 0;
        }

*/    
    .theme-green .menu {
        margin: 10px 0 0;
    }

    .menu-btn {
        text-align: center;
    }

    .menu-btn, .menu-body {
        position: relative;
    }

    .theme-red .menu-btn {
        border-top: 10px solid #bc1e2c;
        border-bottom: 10px solid #bc1e2c;
    }

    .theme-green .menu-btn {
        border-top: 10px solid #016a15;
        border-bottom: 10px solid #016a15;
    }

    .theme-orange .menu-btn {
        border-top: 10px solid #ea8a00;
        border-bottom: 10px solid #ea8a00;
    }

    .theme-purple .menu-btn {
        border-bottom: 10px solid #3e1865;
    }
}

@media (max-width: 500px) {
    .menu-btn {
        text-align: center;
    }

    .menu-btn, .menu-body {
        padding: 0;
    }

    button {
        margin-right: 0 !important;
        margin-left: 240px;
    }
}

/* ================ стили главного меню ================ */
.menu-body {
    padding: 0;
}

#mainmenu {
    padding: 0;
    margin: 0 -5px;
}

    #mainmenu ul {
        width: 100%;
        margin: 15px 0 0;
        padding-bottom: 15px;
    }

/*.theme-green #mainmenu ul {
    padding-bottom: 0;
}

.theme-red #mainmenu ul {
    border-bottom: 10px solid #bc1e2c;
}

.theme-green #mainmenu ul {
    border-bottom: none;
    margin-top: 5px;
}

.theme-purple #mainmenu ul {
    border-bottom: 10px solid #3e1865;
    margin-top: 5px;
}

.theme-orange #mainmenu ul {
    border-bottom: 10px solid #ea8a00;
}

.theme-purple #mainmenu ul {
    border-bottom: 10px solid #3e1865;
}*/

#mainmenu li {
    padding: 5px 0;
}

    #mainmenu li a {
        min-height: 24px;
        margin: 0 5px;
        padding: 0 15px;
        color: #000;
        font-size: 12px;
        font-weight: bold;
        text-transform: uppercase;
        text-decoration:none;
    }


/*.theme-red #mainmenu li a {
    border: 10px solid #bc1e2c;
}

.theme-green #mainmenu li a {
    border: 10px solid #016a15;
}

.theme-purple #mainmenu li a {
    border: 10px solid #3e1865;
}

.theme-orange #mainmenu li a {
    background-color: #ea8a00;
    border: 0;
    color: #fff;
    padding: 9px 15px;
    height: auto;
    min-height: 44px;
    line-height: 1;
}*/

#mainmenu li:first-child a,
#mainmenu li:first-child + li a,
#mainmenu li:first-child + li + li a,
 #mainmenu li:first-child + li + li + li a {
    min-height: 28px;
    background-color: #fff;
    padding: 6px 15px;
    margin-top: 16px;
    text-align: center;
    display: block;
}

@media (min-width: 768px) and (max-width: 991px) {
    #mainmenu li:first-child a,
    #mainmenu li:first-child + li a {
        min-height: 50px;
        background-color: #fff;
        padding: 6px 15px;
        margin-top: 16px;
        text-align: center;
        display: block;
    }

    #mainmenu li:first-child + li + li a,
    #mainmenu li:first-child + li + li + li a {
        min-height: 50px;
        background-color: #fff;
        padding: 16px 15px;
        margin-top: 16px;
        text-align: center;
        display: block;
    }
}

@media (max-width: 767px) {
    #mainmenu li:first-child a,
    #mainmenu li:first-child + li a,
    #mainmenu li:first-child + li + li a,
    #mainmenu li:first-child + li + li + li a {
        min-height: 48px;
        color: #ffffff !important;
        padding: 14px 15px;
        border: none;
        border-radius: 0 !important;
        margin-top: 8px !important;
        text-align: center;
        display: block;
    }

    #mainmenu li:first-child a {
        background-color: #016a14;
    }

     #mainmenu li:first-child + li a {
        background-color: #2e76bc;
    }

    #mainmenu li:first-child + li + li a {
        background-color: #bc1e2c;
    }

    #mainmenu li:first-child + li + li + li a {
        background-color: #ea8a00;
    }
}

/*.theme-red #mainmenu li:first-child a,
.theme-red #mainmenu li:first-child + li a,
.theme-red #mainmenu li:first-child + li + li a,
.theme-purple #mainmenu li:first-child a,
.theme-purple #mainmenu li:first-child + li a,
.theme-purple #mainmenu li:first-child + li + li a {
    line-height: 24px;
    color: #fff;
    border: 0 !important;
}*/

#mainmenu li:first-child a {
    border: solid 1px #ffffff;
    border-radius: 8px;
    color: #016a14;
}

#mainmenu li:first-child + li a {
    border: solid 1px #ffffff;
    border-radius: 8px;
    color: #2e76bc;
}

#mainmenu li:first-child + li + li a {
    border: solid 1px #ffffff;
    border-radius: 8px;
    color: #bc1e2c;
}

 #mainmenu li:first-child + li + li + li a {
    border: solid 1px #ffffff;
    border-radius: 8px;
    color: #ea8a00;
}



/*.theme-red #mainmenu li:first-child a,
.theme-purple #mainmenu li:first-child a {
    background-color: #016a14;
}

.theme-red #mainmenu li:first-child + li a,
.theme-purple #mainmenu li:first-child + li a {
    background-color: #2e76bc;
}

.theme-red #mainmenu li:first-child + li + li a,
.theme-purple #mainmenu li:first-child + li + li a {
    background-color: #ea8a00;
}*/

@media (min-width: 992px) and (max-width: 1199px) {
    .theme-orange #mainmenu li a {
        /*height: 54px;*/
    }

    .theme-green #mainmenu li a {
        height: 54px;
        line-height: 16px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .theme-orange #mainmenu li a {
        /*height: 66px;*/
    }

    .theme-green #mainmenu li a {
        height: 54px;
        line-height: 16px;
    }
}

@media (max-width: 767px) {
    #mainmenu ul {
        margin-top: 5px;
        padding-bottom: 7px;
    }


    .theme-green #mainmenu li a {
        margin: 0;
    }

     #mainmenu li a {
        border-left: 0 !important;
        border-right: 0 !important;
        border-bottom: 0 !important;
        margin: 0;
    }

    /*.theme-red #mainmenu li a {
        border-top: 10px solid #bc1e2c;
    }*/

    /*.theme-orange #mainmenu li a {
        border-top: 0;
    }*/

    /*.theme-purple #mainmenu li a {
        border-top: 10px solid #3e1865;
    }*/

    #mainmenu .last-item {
        margin-bottom: -10px;
    }

        #mainmenu .last-item a {
            padding-top: 5px;
        }
}

/* ================ стили футера ================ */
.footer {
    max-width: 80%;
    margin: 10px auto 0;
    padding: 10px 0;
    line-height: 100px;
}

.theme-red .footer {
    border-top: 10px solid #bc1e2c;
}

.theme-green .footer {
    border-top: 10px solid #016a15;
}

.theme-orange .footer {
    border-top: 10px solid #ea8a00;
}

.theme-purple .footer {
    border-top: 10px solid #3e1865;
}

.footer ul {
    list-style-type: none;
}

.footer li {
    display: inline-block;
    text-align: center;
}

@media (max-width: 767px) {
    * {
        margin: 0;
        padding: 0;
    }

    .footer {
        max-width: 100%;
        margin: 10px -15px;
        max-width: none;
        padding: 0;
        line-height: 80px;
    }

        .footer div {
            padding: 0;
        }

        .footer ul {
            padding: 0;
        }

        .footer li {
            width: 33%;
        }

        .footer img {
            max-width: 90%;
        }
}

/* ======= удалить ======= */
.right-btn {
    display: none;
}


/* ================ плашки с картинками ================ */
.footerMenu {
    margin: 20px -10px;
    background-color:#ffffff!important;
}

    .footerMenu > a {
        display: block;
        padding: 0 10px;
        margin-bottom: 20px;
    }

.theme-green .footerMenu > a {
    margin-bottom: 10px;
}

.footerMenu > a:hover {
    text-decoration: none;
}

.footerMenu img {
    width: 100%;
}

.menuTitle {
    min-height: 86px;
    color: #fff;
    font-weight: bold;
    padding: 15px 20px;
}

#orangemenu {
    margin: 0 -15px 0 -15px;
}

    #orangemenu > .nav li > a {
        color: #fff;
        font-weight: bold;
        padding: 15px 20px;
        margin: 15px;
        min-height: 70px !important;
        background-color: #ea8a00;
        display:block;
        text-decoration:none;
    }

@media (min-width: 768px) and (max-width: 991px) {
    .menuTitle {
        padding: 10px 15px;
        font-size: 11px;
    }
}

@media (max-width: 767px) {
    .footerMenu > div {
        padding: 0;
        margin-bottom: 2px;
    }

    .footerMenu img {
        display: none;
    }

    .menuTitle {
        height: auto;
        padding: 10px 15px;
        margin:7px 0;
    }

    #orangemenu > .nav li > a {
        height: auto;
        padding: 10px 15px;
        margin: 0 15px 7px 15px;
    }
}
