/*
Theme Name: Школа управління УКУ
Theme URI: http://webografica.com/
Author: Mykola Stetsyshyn
Author URI: http://webografica.com/
Description: Description
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: spm
Tags:
*/
@import url(http://fonts.googleapis.com/css?family=Roboto:400,300,300italic,400italic,500,700,700italic&subset=latin,cyrillic);

body {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: normal;
    color: #464646;
    background: #292929;
}
a{
    color: #850000;
}

a:hover, a:active {
    color: #a00000;
    text-decoration: none;
}


a, img, .container {
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

a:active, a:focus {
    text-decoration: none;
}

/* Header */
.header-row {
    background: #840000;
}
.branding-row{
    padding-top: 15px;
    padding-bottom: 15px;
}
.spm-logo{
    display: inline-block;
    margin-left: 15px;
    padding: 15px 0 15px 15px;
    border-left: 1px solid #ffffff;
}
.brand-wrap {
    color: #850000;
}

.logo {
    display: block;
    float: left;
    margin-right: 20px;
}

.header-row .social-links{
    margin: 0;
    padding: 0;
    text-align: right;
}
.header-row .social-links a{
    color: #ffffff;
    font-size: 18px;

}
.register-button{
    display: inline-block;
    padding: 15px 25px;
    color: #ffffff;
    background: #790304;
    text-decoration: none;
    margin: 35px 0 10px;
}
.register-button:hover{
    background: #ffffff;
}
.register-button i{
    margin-left: 10px;
}
/**/
.lang li{
    list-style: none;
    display: inline-block;
    margin-left: 10px;
}
.lang a{
    color: #ffffff;
}
/* top menu */

.top-menu-wrap {
    background: #790304;
    position: relative;
    z-index: 999;
}

.top-menu-wrap ul {
    padding: 0;
    margin: 0;
    list-style: none;
    z-index: 999;
}

.top-menu-wrap .nav-inner {
    position: relative;
}

.main-menu li {
    margin: 0;
    padding: 0;
    text-indent: 0;
}

.main-menu a {
    display: inline-block;
    height: 50px;
    font-size: 16px;
    color: #ffffff;
    cursor: pointer;
    text-indent: 0;
}

.main-menu > li {
    display: block;
    float: left;
    margin-right: 1px;
}

.main-menu > li > a {
    /* border-bottom: 3px solid transparent;*/
    font-size: 17px;
    padding: 12px 12px;
}

.main-menu > li:hover > a {
    background: #6c0000;
    color: #ffffff;
    /*border-bottom: 3px solid #ffffff;*/
}
.main-menu > li.current-menu-item > a, .main-menu li.current-menu-ancestor > a, .main-menu li.current-menu-parent > a, .main-menu li.current-post-ancestor > a{
    background: #ffffff;
    color: #850000;
}

/* submenu, first level*/
.main-menu ul {
    display: none;
    background: #ffffff;
    box-shadow: 0 10px 15px rgba(0,0,0,0.2);
}

.main-menu li:hover > ul {
    display: block;
    position: absolute;
    opacity: 1;
}

.main-menu ul li {
    margin: 0;
    padding: 0;
    position: relative;
}

.main-menu ul a {
    display: block;
    color: #850000;
    padding: 15px 25px;
    line-height: normal;
    height: auto;
}

.main-menu .sub-menu a {
    min-width: 180px;
    text-align: left;
}

.main-menu ul > li:hover > a, .main-menu ul > li.current-menu-item > a {
    background: #850000;
    color: #ffffff;
}

/* main menu, second level */
.main-menu ul > li > ul {
    right: 100%;
    top: 0;
}

/* search form in menu row */
.menu-search{
    background: #740000;
    padding: 5px 0 10px;
    height: 50px;
    width: 50%;
    position: relative;
    margin: 10px 0 0;
}
.menu-search input{
    background: transparent;
    border: none;
    display: block;
    margin: 8px 50px 0 10px;
    padding: 0 10px;
    font-size: 16px;
    color: #ffffff;
    outline: none;
    width: 90%;
}
.menu-search button{
    display: inline-block;
    background: transparent;
    border: 0;
    color: #ffffff;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    position: absolute;
    top: 0;
    right: 0;
}

/* side menu */
.menu-widget ul, .side-menu li{
    list-style: none;
    padding: 0;
    margin: 0;
}
.menu-widget .children{
    display: none;
}
.menu-widget .current_page_item > ul, .menu-widget .current_page_ancestor > ul{
    display: block;
}
.menu-widget a{
    display: block;
    position: relative;
    padding: 15px 20px;
    background: #f2f2f2;
    color: #474747;
    border-bottom: 1px solid #ffffff;
}
.menu-widget .children a{
    padding: 10px 20px;
}
/*.side-menu .children a:before{
    content: '—';
    position: absolute;
    margin-left: -20px;
    font-weight: bold;
}*/
.menu-widget li ul li > a{
    padding-left: 40px!important;
}
.menu-widget li ul li ul li > a{
    padding-left: 60px!important;;
}
.menu-widget li ul li ul li ul li > a{
    padding-left: 80px!important;;
}
.menu-widget a:hover{
    background: #e8e8e8;
}
.menu-widget li.current_page_item > a, .menu-widget li.current-menu-item > a, .menu-widget li.current-post-ancestor > a{
    background: #840000;
    color: #ffffff;
}
/* Slider */
#owl-main-slider{
    max-height: 550px;
    overflow: hidden;
    position: relative;
}
.wide-slider {
    background: #edecea;
    position: relative;
    overflow: hidden;
    z-index: 777;
}
.wide-slider .slide{
    height: 550px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    cursor: pointer;
}

.wide-slider img{
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    z-index: 80;
    position: relative;
}
#owl-main-slider .owl-controls{
    z-index: 100;
    position: absolute;
    bottom: 5px;
    margin: 0;
    width: 100%;
}
.slide-caption-wrap{
    position: absolute;
    left: 0;
    bottom: 35px;
    width: 100%;
}
.slide-caption-wrap .slide-caption{
    padding: 30px;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

/* home media */
#carousel-media .carousel-inner .item{
}

.media-carousel-widget .title {
    font-size: 1em;
    margin: 5px 0;
    padding-left: 100px
}

.media-carousel-widget .media-title {
    border-top: none;
}

.media-carousel-widget .carousel-control {
    width: 40px;
    height: 40px;
    display: block;
    text-align: center;
    background: none;
    top: 90px;
    opacity: 0;
    background: rgba(218, 78, 31, .6);
    color: #ffffff !important;
    text-shadow: none;
}

.media-carousel-widget .carousel-control span.glyphicon {
    font-size: .6em;
    line-height: 40px;
    font-weight: normal;
    position: relative;
    margin: 0 auto;
    right: auto;
    top: auto;
    left: auto;
}

.media-carousel-widget:hover .carousel-control {
    opacity: 1;
}

.media-carousel-widget:hover .carousel-control:hover {
    background: rgba(218, 78, 31, 1);
}

/* standard news widget */
.widget-gray{
    background: #fafaf9;
    padding: 20px 0;
}
.widget-title{
    font-size: 18px;
    text-transform: uppercase;
    margin: 0 0 15px;
}
.widget-title, .widget-title a{
    color: #636363;
}
.thumbnail{
    padding: 0;
    border: none;
    border-radius: 0;
}
.widget .news-item{
    margin: 0 20px 20px 0;
}
.widget .news-item .thumbnail{
    margin: 0 20px 20px 0;
}
.widget .first-item .thumbnail{
    margin-bottom: 0;
 }
.widget .news-item .info{
/*    padding-left: 120px;*/
}
.widget .news-item .date{
    display: inline-block;
    color: #707070;
    font-size: 13px;
}
.widget .news-item .title, .widget .news-item .title a{
    color: #464646;
    font-size: 16px;
    font-weight: normal;
    margin: 10px 0 0;
}
.widget .news-item:hover a, .widget .news-item .title:hover, .widget .news-item .title a:hover{
    color: #a00000;
}
/**/
.light-gray-row{
    background: #f6f5f3;
}
.events-row{
    padding-top: 30px;
}
.events-row .widget-gray{
    padding: 10px 0;
}
/* announcements */

.announcements .news-item .date{
    color: #555555;
    padding: 5px 8px;
    background: #edecea;
}
.announcement .info{
    padding-left: 20px!important;
}

/* texts */

div > .widget{
    margin-top: 30px;
}
div > .widget:nth-child(n+1){
    margin-top: 0!important;
}
.texts .news-item .info{
    padding-left: 20px;
}
/* news */
.news .widget-gray{
    padding-top: 0;
}
.news .news-item.first-item{
    padding: 0;
    margin: 0;
}
.news .news-item.first-item .info{
    padding: 20px;
    background: #f6f5f3;
    margin-bottom: 20px;
}
/* cites */
.cites .widget-gray{
    padding: 0;
}
#owl-cites{
    background: url('images/cite-icon.png') 30px 30px no-repeat;
 }
.cite-item{
    padding: 80px 30px 0;

}
.cite-item header{
    margin: 30px -30px 0;
    background: #f6f5f3;
}

.cite-item .info .title{
    font-size: 18px;
    font-weight: normal;
    margin: 0 0 10px;
    color: #636363;
}
.cite-item .info{
    padding: 20px 30px 30px;
    margin-left: 100px;
}
.cite-item .position{
    font-size: 14px;
    color: #707070;
    line-height: 16px;
}
.cite-item .thumbnail{
    margin: 0;
}
#owl-cites .owl-controls{
    position: absolute;
    top: 30px;
    right: 30px;
    text-align: right;
    margin: 0;
}
/* video slider */
.videos .widget-gray{
    padding: 0;
}
.video-wrapper {
    position: relative;
    padding-bottom: 57.4%; /* 16:9 */
    padding-top: 25px;
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 90;
}
.video-play{
    position: relative;
    display: block;
}
.video-play:before{
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    top: 50%;
    left: 50%;
    margin: -40px 0 0 -20px;
    border-top: 40px solid transparent;
    border-bottom: 40px solid transparent;
    border-left: 60px solid #ffffff;
    z-index: 100;
}
.video-play:hover:before{
    border-left: 60px solid #850000;
}
.video-play img{
    max-width: 100%;
    z-index: 90;
    width: 100%;
    height: 225px;
    display: block;
}
.widget .video-item img{
    margin: 0;
}
.widget .video-item .title{
    padding: 30px;
    margin: 0;
    font-weight: normal;
}
#owl-videos .owl-controls{
    position: absolute;
    top: 225px;
    margin-top: -32px;
    width: 100%;
}

#owl-videos .owl-controls .owl-buttons div{
    width: 32px;
    height: 32px;
    text-align: center;
    line-height: 32px;
    background: rgba(149, 0, 0, 1);
    color: #ffffff;
    opacity: 1;
    border-radius: 0;
    margin: 0;
}
#owl-videos .owl-controls .owl-buttons div.owl-prev{
    float: left;
}
#owl-videos .owl-controls .owl-buttons div.owl-next{
    float: right;
}
.video-news {
	margin-top: 33px;
}
/* galleries row */
.galleries-row{
    padding: 30px 0;
    background: #f6f5f3;
}
/* cols */
.main-content-wrap {
    padding: 30px 0;
    background: #ffffff;
}

.items-col .item {
    padding: 0 0 10px;
}

.items-col img {
    max-width: 100%;
    height: auto;
}

.items-col a {
    color: #363636;
}

.col-title {
    font-size: 1.3em;
    color: #663f34;
    position: relative;
    margin: 0 0 20px;
}

.col-title .text {
    display: inline-block;
    position: relative;
    background: #ffffff;
    padding: 0 15px 0 0;
    z-index: 50;
}

.events-col .item .item-title {
    font-size: 1em;
    display: block;
    margin: 0 0 0 55px;

}

.item .item-title a {
    font-size: 1em;
}

.item.item-first .item-title a {
    font-size: 1.2em;
}

.events-col .item.item-first .item-thumb {
    margin-bottom: 10px;
}

.vertical-date {
    width: 40px;
    height: 40px;
}

.vertical-date.date {
    display: block;
    position: relative;
    float: left;
    text-align: center;
    color: #464646;
    padding: 3px 0 5px;
    background-color: #fafaf9;
}

.vertical-date.date .day {
    font-size: 1.2em;
    line-height: 1.3em;
    margin-bottom: 0;
    display: block;
    float: none;
    clear: both;
}

.vertical-date.date .month {
    display: block;
    font-size: 0.7em;
    line-height: 0.8em;
}

.horizontal-date.date {
    display: inline-block;
    color: #775d56;
    padding: 5px 10px;
    font-size: 0.8em;
    background: #fef3d4;
    width: auto;
}

.absolute-date {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 30;
}

.news-thumbnail .absolute-date {
    top: 0;
    bottom: auto;
}

/**/
.announcement-col .item .item-thumb {

}

.announcement-col .item .item-title-wrap {
    margin-left: 120px;
}
.item .no-thumbnail{
    margin-left: 0!important;
}

.announcement-col .item .item-title {
    display: block;
    font-size: 1em;
    margin: 8px 0 0;
    padding: 0;
}

/* single page header image */
.post-meta {
    margin: 10px 0 0;
}

.post-meta a {
    color: #c84423;
}

.post-categories {
    margin-left: 20px;
}

.single-page-header-image {
    height: 160px;
    background-color: #cadae9;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
}

/* article */
.single-page {
    margin-bottom: 30px;
}

.single-page header .date-share {
    padding: 5px 0 0;
}

.single-page header .date {
    color: #898989;
}

.entry-header .page-title {
    margin: 0;
    position: relative;
}


.single-page h1.page-title, .category-wrap h1.page-title {
    font-size: 2.4em;
    display: inline-block;
    font-weight: normal;
}

.alignleft {
    float: left;
    display: block;
    margin: 15px 20px 15px 0;
}

.alignright {
    float: right;
    display: block;
    margin: 15px 0 15px 20px;
}

.aligncenter {
    display: block;
    float: none;
    margin: 15px auto;
}

/**/

.single-page .entry-header, .category-wrap .entry-header {
    margin: 0 0 30px;
}

.entry-content object, .entry-content iframe {
    display: block;
    margin: 20px auto;
    width: 100%;
    min-height: 500px;
}

.entry-content a {
    color: #c1451b;
}
a.modal-table{
    color:#464646;	
}
a.modal-table{
    color:#464646;	
}
a.modal-table:hover{
    color:#464646;	
}
.entry-content img {
    max-width: 100%;
    height: auto;
}

/**/
.circles{
    display: block;
    float: left;
    margin: 30px 30px 30px 0;
}
.circles > li{
    display: block;
    float: left;
    position: relative;
}
.circles li a{
    display: block;
    width: 300px;
    height: 300px;
    border-radius: 100%;
    background: rgba(0,0,0,.1);
    text-align: center;
    vertical-align: middle;
    font-size: 20px;
    line-height: 22px;
}
.circles li a:hover{
    background: rgba(132, 0, 0, .7);
    color: #ffffff;
}
.circles li a span{
    display: inline-block;
    padding-top: 130px;
}
.circles > li:nth-child(0n+1){
    margin-top: 30px;
}
.circles > li:nth-child(0n+2){
    margin: 0 0 0 -80px;
}
.circles > li:nth-child(0n+3){
    clear: both;
    margin: -100px 0 0 130px;

}

/* breadcrumbs */
.breadcrumbs-row{
    padding: 18px 0;
    background: #f2f2f2;
    font-size: 14px;
}
.breadcrumbs{
    color: #7c7c7c;
}
.breadcrumbs a{
    color: #474747;
}

/* categories */

.main-content-wrap a:hover {
    color: #b80000;
}

.category-wrap a:hover img {
    opacity: 0.8;
}

.archive .news-item {
    margin-bottom: 30px;
}

.archive .news-item .title, .search .news-item .title {
    color: #363636;
    font-size: 1.4em;
}

.news-item-content {
    margin-left: 55px;
    text-align: justify;
}

.news-item-content .title {
    margin: 0 0 20px;
}

.category-wrap .news-thumbnail {
    position: relative;
    margin-right: 15px;
    max-width: 40%;
}

/* video */
article.video-item {

}

.media-title {
    padding: 8px 0 0;
}

.media-title .title {
    padding-top: 0 !important;
}

/* top news */
.top-news-wrap {
    position: relative;
    overflow: hidden;
}

.top-news-wrap .title-wrap {
    display: block;
    background-color: #ffffff;
    padding: 20px 20px 20px 78px;
    position: absolute;
    bottom: 20px;
    left: 0;
    margin-right: 50px;
    z-index: 20;
    overflow: hidden;
}

.top-news-wrap .title-wrap h1 {
    margin: 0;
    padding: 0;
    font-size: 2em;
    color: #363636;
}

.top-news-wrap img {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 10;
}

.top-news-wrap .title-wrap .date {
    display: table;
    position: absolute;
    padding-top: 10px;
    left: 0;
    top: 0;
    width: 58px;
    height: 200px;
    background-color: #fef3d4;
    text-align: center;
}

a:hover .title-wrap .title {
    color: #da4e1f !important;
}

/**/
.post-item {
    margin-bottom: 30px;
}

.post-item img {
    box-sizing: content-box;
}

.icon-wrap {
    width: 40px;
    height: 40px;
    text-align: center;
    background-color: #d8d8d8;
    /* border: 2px solid #f66c41;*/
    color: #ffffff;
    float: left;
    font-size: 1.6em;
    line-height: 44px;
    margin-right: 3px;
}

.post-item .title {
    color: #363636;
    font-size: 1.4em;
    font-weight: normal;
    margin: 0;
    padding: 10px 0 10px 55px;
}

.picture-item .title, .video-item .title {
    display: block;
    font-size: 1.15em;
    padding: 10px 0 10px 95px;
    min-height: 40px;
}

.search-results-wrap .title {
    padding: 0;
}

/* sidebar */
.sidebar-col {
    padding-top: 15px;
}

.home .sidebar-col {
    padding-top: 0;
}

.widget-item {
    margin-bottom: 20px;
    overflow: hidden;
}

/* sidebar menu */

.sidebar-menu, .sidebar-menu li, .sidebar-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu {
    margin: 0 0 30px;
    display: block;
    border-top: 5px solid #c1451b;
}

.sidebar-menu a {
    display: block;
    background: #fef3d4;
    color: #c94724;
    font-size: 1em;
    padding: 10px 20px;
    cursor: pointer;
}

.sidebar-menu a:hover, .sidebar-menu .current-page-item > a, .sidebar-menu li.current_page_item > a {
    background: #ffffff;
    color: #363636;
}

.sidebar-menu ul {

}

.sidebar-menu > li > ul > li > a {
    padding-left: 40px;
}

.sidebar-menu > li > ul > li > ul > li > a {
    padding-left: 60px;
}

/* locations banner */
.location-banner img {
    width: 100%;
}

/* facebook */
.fb-like-box {
    padding-bottom: 10px;
    max-width: 100%;
    width: 100%;
    min-height: 270px;
    background-color: #f0f0f0;
    opacity: 0.7;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.fb-like-box:hover {
    opacity: 1;
}

.fb-like-box > span {
    overflow: hidden;
}

.fb-like-box > span, .fb-like-box iframe {
    max-width: 100%;
}

a.fb-button-red {
    display: block;
    background-color: #c94724;
    color: #ffffff;
    font-size: 1.4em;
    text-align: center;
    padding: 10px;
}

a.fb-button-red:hover {
    background-color: #da4e1f;
    color: #ffffff;
}

/* countries */
.country-item {
    margin-bottom: 30px;
}

.country-item {
    display: block;
    position: relative;
    color: #242424;
    overflow: hidden;
}

.country-item img.wp-post-image {
    width: 100%;
    height: auto !important;
    border: 1px solid #f0f0f0;
}

.country-item .title {
    font-size: 1.2em;
    text-align: center;
}

/*
.country-item:after{
    content: '';
    display: block;
    position: absolute;
    height:500px;
    width: 100%;
    background-color: rgba(218, 78, 31, .0);
    top: 0;
    left: 0;
    z-index: 20;
    -webkit-transition: all 300ms;-moz-transition: all 300ms;-ms-transition: all 300ms;-o-transition: all 300ms;transition: all 300ms;
}
.country-item:hover:after{
    background-color: rgba(218, 78, 31, 0.9);

}
*/
/* map */
.page-template-template-pate-map-php .main-content-wrap {
    padding-bottom: 0;
}

#map-canvas {
    position: relative;
    z-index: 90;
}

.map-controls-panel-wrap {
    position: relative;
    z-index: 100;
}

.location-list-wrap {
    position: absolute;
    top: 1px;
    width: 100%;
    border-top: 2px solid #fde9b5;
    background: #ffffff;
    z-index: 100;
    height: 650px;
    overflow-y: scroll;
}

.location-list {
    padding: 0;
    margin: 30px 40px;
}

.location-list-wrap li {
    list-style: none;
}

.location-list a {
    display: block;
    padding: 5px 10px;
    color: #c1451b;
    cursor: pointer;
}

.location-list a:hover, .location-list a.active {
    color: #ffffff;
    background: #da4e1f;
}

.map-top-menu {
    margin: 0 0 20px;
    padding: 0;
    overflow: hidden;
}

.map-top-menu li {
    display: block;
    float: left;
    margin: 0 1px 0 0;
}

.map-top-menu a {
    display: block;
    padding: 10px 20px;
    color: #c1451b;
}

.map-top-menu a:hover, .map-top-menu a.active {
    color: #ffffff;
    background: #da4e1f;
}

/**/
.marker-content {
    padding: 20px 15px;
    width: 500px;
    font-family: Roboto !important;
}

.marker-content img.wp-post-image {
    max-width: 180px;
    height: auto;
}

.marker-content h1 {
    font-size: 2.0em;
    margin: 0 0 20px;
}

/* map-page-content */
.map-page-content-wrap {
    position: absolute;
    display: none;
    width: 100%;
    z-index: 100;
}

.map-page-content {
    margin: 15px 30px 15px 15px;
    padding: 50px;
    background: #ffffff;
}

/* pagenavi */
.wp-pagenavi {
    clear: both;
    text-align: center;
}

.wp-pagenavi a, .wp-pagenavi span {
    text-decoration: none;
    border: none;
    display: inline-block;
    height: 30px;
    line-height: 30px;
    padding: 0 12px;
    background-color: #fef3d4;
    color: #636363;
    margin: 3px;
}

.wp-pagenavi a:hover, .wp-pagenavi span.current {
    font-weight: normal;
    color: #ffffff;
    background-color: #da4e1f;
}

.wp-pagenavi span.current {
    font-weight: normal;
}

/* contact form */
input[type=text], input[type=tel], input[type=email], input[type=number], textarea {
    width: 96%;
    padding: 5px;
    margin: 5px 0;
    border: 1px solid #f2f2f2;
    background: #f2f2f2;
    font-size: 1em;
}
input[type=text]:focus, input[type=tel]:focus, input[type=email]:focus, input[type=number]:focus, textarea:focus{
    background: #ffffff;
}

textarea {
    height: 200px;
}

.wpcf7-form img {
    width: auto !important;
}

/* swipebox */
#swipebox-overlay {
    background-color: rgba(36, 36, 36, 1);
}

#swipebox-bottom-bar {
    background: transparent;
    bottom: 50%;
}

#swipebox-arrows {
    max-width: none;
    width: 92% !important;
}

#swipebox-close {
    right: 20px !important;
}

#swipebox-prev, #swipebox-next {
    background-color: rgba(36, 36, 36, .8);
}

.dark-box-shadow {
    /*box-shadow: 3px 3px 0 rgba(0,0,0,.07);*/
}

/* gallery */

.gallery img[data-mce-selected]:focus {
    outline: none;
}

.gallery {
    margin: auto -6px;
    padding: 6px 0;
    line-height: 1;
    overflow-x: hidden;
}

.ie7 .gallery,
.ie8 .gallery {
    margin: auto;
}

.gallery .gallery-item {
    float: left;
    margin: 0;
    text-align: center;
    padding: 6px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
}

.ie7 .gallery .gallery-item,
.ie8 .gallery .gallery-item {
    padding: 6px 0;
}

.gallery .gallery-caption,
.gallery .gallery-icon {
    margin: 0;
}

.gallery .gallery-caption {
    position: absolute;
    display: none;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px;
    bottom: 0;
    font-size: 13px;
}

.gallery .gallery-item:hover .gallery-caption {
    display: block;
}

.gallery .gallery-item:hover img {
    opacity: 0.8;
}

.gallery-columns-1 .gallery-item {
    width: 100%;
}

.gallery-columns-2 .gallery-item {
    width: 50%;
}

.gallery-columns-3 .gallery-item {
    width: 33.333%;
}

.ie8 .gallery-columns-3 .gallery-item,
.ie7 .gallery-columns-3 .gallery-item {
    width: 33%;
}

.gallery-columns-4 .gallery-item {
    width: 25%;
}

.gallery-columns-5 .gallery-item {
    width: 20%;
}

.gallery-columns-6 .gallery-item {
    width: 16.665%;
}

.gallery-columns-7 .gallery-item {
    width: 14.285%;
}

.gallery-columns-8 .gallery-item {
    width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    width: 11.111%;
}

.gallery img {
    max-width: 100%;
    height: auto;
    border: none;
    padding: 0;
}
.gallery-item{
    width: auto!important;
}

/**/
.tags {
    margin: 30px 0 20px;
    padding: 20px 0 0;
    position: relative;
}

.tags a {
    display: inline-block;
    padding: 8px 10px;
    margin: 5px;
    background-color: #fef3d4;
    color: #c1451b;
}

.tags a:hover {
    background-color: #da4e1f;
    color: #ffffff;
}

.tags .title {
    font-size: 1.6em;
}

.tags .title:before {
    content: '';
    width: 100px;
    height: 3px;
    background: #c1451b;
    position: absolute;
    top: 0;
    left: 0;
}
/* partners */
.partners-row .widget-title{
    float: left;
    line-height: 60px;
}
.logos{
    display: block;
    margin-left: 100px;
    white-space: nowrap;
    overflow: hidden;
}
.logos a{
    display: inline-block;
    margin: 0 50px;
}
/* footer */

.footer-row {

    color: #b7b7b7;
}
.footer-top-row{
    background: #363636;
}
.footer-row a{
    color: #b7b7b7;
}
.footer-row a:hover{
    color: #ffffff;
}
.first-footer-row{
    padding: 50px 0 30px;
}

.footer-bottom-row{
    padding: 25px 0 50px;

}

.ucu-logo-contact{
    padding-left: 130px;
    background: url('images/footer-ucu-logo.png') left 25px no-repeat;
}
.footer-row .widget .title{
    margin: 0 0 15px;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: normal;
    color: #ffffff;
}

.table a{
    cursor: pointer;
}
.modal-body{
    padding: 30px!important;
}
.modal-content{
    border-radius: 0!important;
}
.modal-content img{
    max-width: 100%;
    height: auto;
}
.modal-td .modal-header{	
    background: rgba(158, 17, 17, 0.16);
	color: #464646;
	min-height: 56px;
}
.table-red.table thead{
	background:rgba(132, 0, 0, 0.65);
    color: #f6f7f8;
}
.table-red.table thead tr th{
	width: 130px;
	text-align: center;
    vertical-align: top;
	position: relative;
    overflow: hidden;
	height: 105px;
}
.table-red.table thead tr th:nth-child(1) {
	width: auto;
}
.table-red.table thead tr th:nth-child(1):after {
	display:none;
}
.table-red.table thead tr th span{
	font-size: 13px;
    width: 100%;
    display: block;
    border-bottom: 1px solid;
}
.table-red.table thead a{
	color: #fff;
	position: absolute;
    height: 100%;
    z-index: 3;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.table-red.table tbody tr:nth-child(2n){
	background: rgba(158, 17, 17, 0.16);
}
.table-red.table tbody tr .active{
	background: transparent;
}
.table-red.table tbody tr .active a{
	position: relative;
	height: 20px;
    width: 20px;
    display: block;
    margin: 0 auto;
    border: 3px solid #840000;
    border-radius: 50%;
    background: #898989;
}

.table-red,
.table-red>thead>tr>th, 
.table-red>tbody>tr>th, 
.table-red>tfoot>tr>th, 
.table-red>thead>tr>td, 
.table-red>tbody>tr>td, 
.table-red>tfoot>tr>td{
	border: 1px solid #7D1111;
    padding: 15px;
}
.circle-td{
	height: 20px;
    width: 20px;
    display: block;
    margin: 0 auto;
    border: 3px solid #840000;
    border-radius: 50%;
	background: #fff;
}
 .modal-backdrop.tb{
	background-color: rgba(0,0,0,0.5);
}
.animated {
	-webkit-animation-duration: 1s;
	animation-duration: 1s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}
.table>tbody>tr>td.active{
	text-align: center;
}
.table-red tbody th{
	position: relative;
	position: relative;
	padding-right: 30px!important;
}
.table-red tbody th.hidden-content a:after{
	content: '';
	position: absolute;
	height: 20px;
	width: 20px;
	display: block;
	margin: 0 auto;
	border: 3px solid #840000;
	border-radius: 50%;
	background: #898989;
	right: 8px;
	top: 15px;
	z-index: 2;
}
.table-red tbody th:after{
	content: '';
	position: absolute;
	height: 20px;
	width: 20px;
	display: block;
	margin: 0 auto;
	border: 3px solid #840000;
	border-radius: 50%;
	background: #fff;
	right: 8px;
	top: 15px;
	z-index: 1;
}
.table-red thead th {
	padding-bottom: 25px!important;
}
.table-red thead th:after {
	content: '';
	position: absolute;
	height: 20px;
	width: 20px;
	display: block;
	margin: 0 auto;
	border: 3px solid #840000;
	border-radius: 50%;
	background: #fff;
	right: 0;
	left: 0;
	bottom: 5px;
	z-index: 1;
}
.table-red thead th.hidden-content:after {
	content: '';
	position: absolute;
	height: 20px;
	width: 20px;
	display: block;
	margin: 0 auto;
	border: 3px solid #840000;
	border-radius: 50%;
	background: #898989;
	right: 0;
	left: 0;
	bottom: 5px;
	z-index: 2;
}
@-webkit-keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.fadeIn {
	-webkit-animation-name: fadeIn;
	animation-name: fadeIn;
}
@-webkit-keyframes fadeInDown {
	from {
		opacity: 0;
		-webkit-transform: translate3d(0, -100%, 0);
		transform: translate3d(0, -100%, 0);
	}

	to {
		opacity: 1;
		-webkit-transform: none;
		transform: none;
	}
}

@keyframes fadeInDown {
	from {
		opacity: 0;
		-webkit-transform: translate3d(0, -100%, 0);
		transform: translate3d(0, -100%, 0);
	}

	to {
		opacity: 1;
		-webkit-transform: none;
		transform: none;
	}
}

.fadeInDown {
	-webkit-animation-name: fadeInDown;
	animation-name: fadeInDown;
}
@-webkit-keyframes fadeOutUp {
	from {
		opacity: 1;
	}

	to {
		opacity: 0;
		-webkit-transform: translate3d(0, -100%, 0);
		transform: translate3d(0, -100%, 0);
	}
}

@keyframes fadeOutUp {
	from {
		opacity: 1;
	}

	to {
		opacity: 0;
		-webkit-transform: translate3d(0, -100%, 0);
		transform: translate3d(0, -100%, 0);
	}
}

.fadeOutUp {
	-webkit-animation-name: fadeOutUp;
	animation-name: fadeOutUp;
}
@-webkit-keyframes fadeOut {
	from {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}

@keyframes fadeOut {
	from {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}

.fadeOut {
	-webkit-animation-name: fadeOut;
	animation-name: fadeOut;
}


/* responsive */
@media (max-width: 560px) {
    .map-top-menu {
        float: left;
        margin: 20px 0;
    }

    .map-top-menu li {
        float: left;
    }
}

@media (max-width: 767px) {
    .entry-content img {
        width: 100%;
        height: auto;
    }

    .donate-button {
        margin-bottom: 15px;
    }

    .brand-wrap h1 {
        font-size: 1.0em;
    }

    .social-links {
        float: none;
        width: 100%;
        text-align: center;
    }

    .location-list-wrap {
        display: none;
        position: relative;
        top: auto;
        left: auto;
    }

    a.show-list {
        display: none;
    }

    .map-page-content-wrap {
        position: relative;
        top: auto;
        left: auto;
    }

    .spm-banner {
        margin: 20px auto;
    }

}

@media (max-width: 992px) {

}

@media (max-width: 1199px) {

}

/* extend bootstrap */
.col-xs-15,
.col-sm-15,
.col-md-15,
.col-lg-15 {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.col-xs-15 {
    width: 20%;
    float: left;
}

@media (min-width: 768px) {
    .col-sm-15 {
        width: 20%;
        float: left;
    }

}

@media (min-width: 992px) {
    .col-md-15 {
        width: 20%;
        float: left;
    }
}

@media (min-width: 1200px) {
    .col-lg-15 {
        width: 20%;
        float: left;
    }
}

/**/
section.publications.widget {
    margin-bottom: 45px;
}
article.publications.widget{
    text-align: justify;
    margin-bottom: 20px;	
}
article.publications.widget img.publications-image{
    float: left;
    margin: 0 20px 20px 0;
    width: 100px;	
}
article.publications.widget span.date{
	color: #707070;
    font-size: 13px;
    display: block;
    margin: 0 0 10px;	
}
article.publications.widget p{
    color: #707070;
    font-size: 16px;
    font-weight: normal;
    margin: 10px 0 0;	
}
article.publications.widget p a{
    color: #707070;	
}
div#wpcf7-f1263-p1260-o1 input[type=text], div#wpcf7-f1263-p1260-o1 input[type=tel], div#wpcf7-f1263-p1260-o1 input[type=email], div#wpcf7-f1263-p1260-o1 input[type=number], div#wpcf7-f1263-p1260-o1 textarea {
    width: 100%;
}
div#wpcf7-f1263-p1260-o1 input.wpcf7-form-control.wpcf7-submit {
    margin: 0 auto;
    display: block;
}