/*
Theme Name: Tribute
Theme URI: http://www.ydesignservices.com/tribute-free-wordpress-theme/
Author: Y Design Services
Author URI: http://www.ydesignservices.com/
Description: A free WordPress theme for blogs that are designed to have beautiful typography. It is developed using responsive design, ensuring that your blog will be no less beautiful when viewed on a smartphone or tablet.
Version: 10.7
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: white, pink, responsive-layout, full-width-template, one-column, two-columns, featured-images, translation-ready, right-sidebar, editor-style, custom-header, custom-background, custom-menu, threaded-comments
Text Domain: tribute

This theme, like WordPress, is licensed under the GPL.
*/

.social-media-icons a,
.contacts-social-button {
    border: #ffffff solid 2px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    float: left;
    text-align: center;
    line-height: 27px;
    margin-left: 15px;
}

.social-media-icons a:hover,
.contacts-social-button:hover {
    border-color: #7090b7;
}

.social-media-icons a:first-child {
   margin-left: 0;
}


.social-media-icons{
    /*float: right;*/
    text-align: center;
    
}

.social-media-icons>div {
  display:inline-block;
}

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

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

@media (min-width: 992px)
.col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9,.col-md-20 {
    float: left;
}


@media (min-width: 768px)
.col-sm-6 {
    width: 50%;
}

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


.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-20, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-20, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9,.col-sm-20, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-20 {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.im{
    border: 1px solid black;

}

#button {
    background-color: #7090b7; 
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}

.phone{
    margin-top: 20px;
    padding-top: 20px;
    text-align: right;
    float: right;
    display: none;
}


.page .slider

{

    margin-top:10px;

    height: 350px;

    z-index:1;

}

.page .slider .slidepanel

{

    position: absolute;

    top:3px;

    left:3px;

    z-index: 1003;

    background:url('images/bg-slide.png') no-repeat center center;

    background-size: cover;

    height: 330px;

    width: 329px;

}

.page .slider .slidepanel h1

{

    font-family: lob;

    color: #fff;

    font-size: 20pt;

    text-align: center;

    margin: 20px 0px 0px -25px;

}

.page .slider .slidepanel ul

{

    position: relative;

    list-style: none;

    width: 250px;

    margin: 15px 0px 0px 15px;

}

.page .slider .slidepanel ul li

{

    background: url('images/small/arrow.png') no-repeat left top;

}

.page .slider .slidepanel ul li a

{

    font-size: 12pt;

    font-family: MyriadPro-Regular;

    font-style: italic;

    color: #fff;

    padding: 0px 0px 24px 24px;

    display: block;

}

.page .slider .slidepanel ul li a:hover

{

    color: #ffe278;

    font-family: Times New Roman;

}


/* =WordPress Core
-------------------------------------------------------------- */
.alignnone{margin:5px 20px 20px 0}
.aligncenter,div.aligncenter{margin:-20px auto}
.alignright{float:right;margin:5px 0 20px 20px}
.alignleft{float:left;margin:5px 20px 20px 0}
a img.alignright{float:right;margin:5px 0 20px 20px}
a img.alignnone{margin:5px 20px 20px 0}
a img.alignleft{float:left;margin:5px 20px 20px 0}
a img.aligncenter{display:block;margin-left:auto;margin-right:auto}
.wp-caption{background:#fff;border:1px solid #f0f0f0;max-width:96%;padding:5px 3px 10px;text-align:center}
.wp-caption.alignnone{margin:5px 20px 20px 0}
.wp-caption.alignleft{margin:5px 20px 20px 0}
.wp-caption.alignright{margin:5px 0 20px 20px}
.wp-caption img{border:0 none;height:auto;margin:0;max-width:98.5%;padding:0;width:auto}
.wp-caption p.wp-caption-text{font-size:11px;line-height:17px;margin:0;padding:0 4px 5px}
.screen-reader-text{clip:rect(1px,1px,1px,1px);position:absolute!important;height:1px;width:1px;overflow:hidden}
.screen-reader-text:focus{background-color:#f1f1f1;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,0.6);clip:auto!important;color:#21759b;display:block;font-size:14px;font-size:.875rem;font-weight:700;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}
.sticky{}.gallery-caption{}.bypostauthor {}
/*
Defaults
---------------------------------------------------------------------------------------------------- */

/* Typographical Elements
--------------------------------------------- */

body{color:#434343;font-family:'Open Sans',sans-serif;font-size:13px; line-height:1.625;background-color:#fff}
blockquote{background-color:#fafafa;font-size:16px;font-style:italic;line-height:26px;border-left:2px solid #7090b7}
ul{list-style:disc}
ol ol{list-style:upper-roman}
ol ol ol{list-style:lower-roman}
ol ol ol ol{list-style:upper-alpha}
ol ol ol ol ol{list-style:lower-alpha}
ul ul,ol ol,ul ol,ol ul{margin-bottom:0}
dl{margin:0 0 25px 5px}
dl dt{font-weight:700;margin:10px 0 0}
dl dd{margin:5px 0 0 24px}
table{border-collapse:collapse;border-spacing:0;margin-bottom:25px}
table caption{margin:0 0 5px;font-size:15px;font-variant:small-caps}
th,td{padding:10px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}
.widget th,.widget td{padding:5px 2px}
th{border-bottom:1px solid #e5e5e5;border-right:1px solid #e5e5e5;background:#f5f5f5;font-size:15px;font-weight:400;text-align:left}
th a{text-decoration:underline;color:#434343}
td{}
a,button,input:focus,input[type="button"],input[type="reset"],input[type="submit"],textarea:focus{-webkit-transition:all .1s ease-in-out;-moz-transition:all .1s ease-in-out;-ms-transition:all .1s ease-in-out;-o-transition:all .1s ease-in-out;transition:all .1s ease-in-out}
::-moz-selection{background:#7090b7;color:#fff}
::selection{background:#7090b7;color:#fff}
a{color:#5e6a71; }
a:hover,a:focus{text-decoration:none; color:#7090b7;}
address{color:#434343;line-height:26px;font-style:italic}
abbr,acronym{border-bottom:1px dotted #666;cursor:help}
big{font-size:125%}
pre{background-color:#fff;border:#eaeaea solid 1px;color:#8a8a8a;font-size:13px;line-height:26px}
.field{ padding-bottom:18px; }
label{ color:#363636; font-size:13px; font-weight:normal;}
.form-control,#comment,.post-password-form input[type="password"]{ border:#dcdcdc solid 1px;height:40px; padding-right:45px; box-sizing:border-box; border-radius:0px; box-shadow: none;color: #454545;font-size: 12px; resize:none; }
.form-control:focus,.comment-form input:focus,textarea#comment:focus{ border-color:#7090b7; box-shadow:none; }
.comment-form div{margin-bottom: 15px;}
.comment-form div.row{margin-bottom: 0px;}
p{ line-height:26px; margin-bottom:25px;}
.page-title, h1, h2, h3, h4, h5, h6 {color:#7090b7;}
.page-title >a{ text-transform:uppercase; display:inline-block; color: #5e6a71;}
.page-title >a:hover, a:focus{color: #7090b7;}
.order-list{margin:0px; padding:0px;  }
.order-list li{ margin-left:20px; margin-bottom:5px;  }
button.search-btn{ width:42px; height:40px; outline:none; border:none; cursor:pointer; color:#fff;background-color:#363636; position:absolute; top:10px; right:0px;   font-size:15px; padding:0px;   }  
button.search-btn:hover{ background-color:#7090b7; }
.btn{ border:#7090b7 solid 1px; border-radius:2px; color:#7090b7; font-size:12px; text-transform:uppercase;padding: 9px 20px; background:none; }
.btn:hover,.btn:focus,.btn:active:focus{ color: #fff;background-color: #7090b7; border-color: #7090b7; outline:none;}

/* Headings
--------------------------------------------- */
h1,h2,h3,h4,h5,h6{font-weight:bold;line-height:1.2;margin:0;margin-bottom:22px;padding:0}
h1{font-size:28px}
h2{font-size:25px}
h3{font-size:20px}
h4{font-size:18px}
h5{font-size:15px}
h6{font-size:12px}


.main-header{text-align:center;background-color: #fff;}
.brandlogo{ display:inline-block; padding:28px 0px;}
.brandlogo a{position:relative;display: block;}
.brandlogo img{position:relative;max-width: 220px;}
.brand-subtitle{ color:#7c7c7c; font-size:15px; font-style:italic; margin:0px; }
.navbar.main-nav{ margin-bottom:0px;}
.navbar.main-nav{ border-top:#f0f0f0 solid 1px; border-bottom:#f0f0f0 solid 1px; clear:both; background-color:#fff; }
.navbar.main-nav .nav li{font-size:13px; text-transform: uppercase;}
.main-nav .navbar-nav li ul{ border-radius:0px; box-shadow:none; border:none; width:190px;}
.main-nav .navbar-nav li ul li a{ display:block;  }
.main-nav .navbar-toggle{  border:#7090b7 solid 1px;  }
.navbar-toggle .icon-bar{ background-color:#7090b7; } 
.main-nav .navbar-nav ul{ position:absolute; z-index:999;top:44px;left:0px;width: 205px; background-color:#fff; opacity:0; visibility:hidden; margin:10px 0 0 0; border:#ececec solid 1px; padding: 15px 0px; -webkit-transition: all .3s ease-in-out;-o-transition: all .3s ease-in-out; transition: all .3s ease-in-out;}
.main-nav .navbar-nav ul li{ line-height:22px;list-style:none;  display:block;  height:auto; position:relative; font-size: 16px; font-weight:normal; text-align:left;  color:#6c6c6c;  }
li i.arrow{ position: absolute;top: 11px;right: 15px; display:none; }
.navbar.main-nav .nav li:hover > ul {opacity: 1;visibility: visible;margin: 0;}
.widget li ul.sub-menu{border-top: #f2f2f2 solid 1px;}
.widget li i.arrow{ display:block;top: 5px;}
.main-nav .navbar-nav ul li:last-child{ border:none;margin: 0px;padding: 0px;}
.main-nav .navbar-nav ul li a{ display:block; font-size: 11px;padding: 6px 20px; color:#6c6c6c; margin:0px; font-family: 'Open Sans', sans-serif;}
.main-nav .navbar-nav ul li:before{  top: 1px;position: absolute;}
.main-nav .navbar-nav ul li a.effect-link-line:after,.main_nav.nav ul li a.effect-link-line:before{ display:none;}
.main-nav .navbar-nav ul li a:hover,.main_nav.nav ul li:hover{ color:#7090b7;  }
.main-nav .navbar-nav ul ul{ position:absolute;  top: 0px; left: 192px; padding:0px;}
.main-nav .navbar-nav> li a:hover,.main-nav .navbar-nav> li.active > a,.main-nav .navbar-nav> li a:focus,.main-nav .nav .open>a{ color:#7090b7; }

.banner-cnt{ background: rgba(1,1,1,0.3); padding:50px;   width: 882px; box-sizing:border-box; display:inline-block; margin-top:120px;  }
.banner-title{  color:#fff;  text-transform:uppercase; font-weight:800;    }
.banner-description{ color:#fff;  font-weight:200;   }

#content{  width:100%; /*float:left;*/ padding-top:40px;  padding-bottom:40px;  }

.post{ display:block; border-bottom:#dbdbdb solid 1px; padding-bottom: 45px; margin-bottom: 30px;width: 100%;float: left;}
.post:last-child{ margin:0px; padding-bottom:50px;}
.entry-title{line-height:38px; margin-bottom:10px;word-wrap: break-word;}
.entry-title a{ color:#7090b7;  }
.entry-title a:hover {color: #5e6a71;}
.entry-meta{ padding-bottom:20px;color:#7090b7; font-style:italic; }
.entry-meta a{ color:#363636;}
.entry-summary img{ display:block; margin-bottom:20px; max-width: 100%;  height: auto;}
header.entry-header{ clear:both; }
.entry-summary p{ margin-bottom:20px; }
.entry-footer{  padding:20px 0px 0px;}
.entry-footer .Posted,.entry-footer .tag{ float:left;}
.entry-footer ul{ float:left; margin: 0px 0 0 5px; padding:0px; }
.entry-footer ul li{ list-style:none;  float:left;margin-right: 5px;}
.pagination{ display:block; width:100%; float:left;}
.pagination a { font-size:12px;}
.pagination a.prev{  float:left;}
.pagination a.next{ float:right; }
.sidebar{padding-left: 58px;}
.sidebar select{ width:100%; padding:5px 0;  }
.textwidget img{width:100%;  }
.sidebar .widget { margin-bottom: 50px; }
.search-form input[type=search]{outline: none;border: none;border: #dcdcdc solid 1px; height: 40px;padding: 0 15px;}
.search-form input[type=search]:focus{ border-color:#7090b7; box-shadow:none; }
.sidebar .widget-title{ border-bottom:#e2e2e2 solid 1px; padding-bottom:10px; margin-bottom:15px;}
a.rsswidget img{ width:24px; height:24px;  display:none; }
.sidebar ul li a.rsswidget{    color: #7090b7;}
.widget-title i{ margin-right:10px;}
.recent{ border-bottom:#f2f2f2 solid 1px; padding-bottom:10px; margin-bottom:10px;} 
.recent p{ margin:0px;  }
.t-color{ color:#7090b7 !important; }
.search-form{ position:relative;  padding-top:10px; display:block; }
.tagcloud a{ color:#5b5b5b;}
.tagcloud a:hover{ color:#7090b7; }
.tagcloud a.tag-link-1{  font-size:25px; }
.tagcloud a.tag-link-2{  font-size:13px; }
.tagcloud a.tag-link-3{  font-size:19px; }
.sidebar ul{ margin:0px; padding:0px;}
.sidebar ul li{ border-bottom:#f2f2f2 solid 1px; line-height: 26px; list-style:none;padding-bottom: 5px;margin-bottom: 5px;position: relative;}
.sidebar ul li.menu-item{margin: 0px;padding: 0px;}
.sidebar ul li.menu-item a{ display:block;padding: 7px 0px;}
span.post-date{ display:block;     color: #7090b7;}
.recentcomments{   }
.sidebar ul li.recentcomments a{  color: #7090b7;}
.sidebar ul li:last-child{ border:none;}
.sidebar ul li a{  color:#5b5b5b; text-transform: none;}
.sidebar ul li a:hover{  color:#7090b7; }
.sidebar hr{ margin:0px 0 8px 0;}
table#wp-calendar{ width:100%;  border:#e5e5e5 solid 1px; border-collapse:collapse;  font-size: 15px; }
table#wp-calendar caption{ text-align:center; text-transform:uppercase; color:#363636;}
table#wp-calendar tr{ border:#e5e5e5 solid 1px; border-collapse:collapse; }
table#wp-calendar th{ border:#7090b7 solid 1px; border-collapse:collapse; padding: 5px 2px; background: #7090b7; color:#fff;  text-align:center;}
table#wp-calendar td{ border:#e5e5e5 solid 1px; border-collapse:collapse; padding: 5px 2px; text-align:center; }
table#wp-calendar tfoot{ display:none;}
footer{ background-color:#5e6a71;  clear:both;padding: 15px 0px; }
footer p{   font-size:12px; color:#ffffff;margin: 0px;line-height: 32px;  text-align:center;}
footer a{ color:#ffffff;} 
footer a:hover{ color:#7090b7;} 
footer .ftr-social{float:right; }
footer .ftr-social a{ color:#d5d5d5;  font-size:20px;  margin-right:20px; }
footer .ftr-social a:hover .fa-facebook{ color:#314A87;}
footer .ftr-social a:hover .fa-twitter{ color:#22BBF4;}
footer .ftr-social a:hover .fa-linkedin{ color:#006DC0;}
footer .ftr-social a:hover .fa-google-plus{ color:#D13D2F;}
footer .ftr-social a:hover .fa-instagram{ color:#B16B4F;}

footer .ftr-social a:last-child{ margin:0px;}

.comment-respond{ padding-top:20px;}
.comment-reply-title{ padding-bottom:15px;}

.subtitle{ margin-top:20px; margin-bottom:10px; }

.error-404{  text-align:center; padding:50px 0;}
.error-404 .search-btn{ background-color:#7090b7;}

.error-404 .search-btn:hover{ background-color:#363636;}
 
.commentlist,.commentlist ol.children{ margin:0px; padding:0px;}
.commentlist li.pingback{list-style:none; margin-bottom:15px; }
.commentlist li.comment{ list-style:none; position:relative;  padding-left:80px; border-bottom:#e3e3e3 solid 1px; margin-bottom:25px; }
.commentlist li.comment b{ font-weight:normal;}
.commentlist li.comment:last-child{ border:none;}
.commentlist li.comment footer{ background: none;padding: 0px;}
.comment-metadata{  font-size: 85%;}
.comment-author{ font-style:italic; }
.commentlist li.comment footer a{color: #da4453;}
.commentlist li.comment .avatar{  position:absolute ;top:5px; left:0px;}
.commentlist li.comment .reply{ position:absolute; top:0px;right:0px;text-transform: uppercase;}
 
textarea#comment{width:100%;height: 180px;padding: 10px;outline: none;}
.comment-form p{ margin-bottom:18px;}
.comment-form input{border:#dcdcdc solid 1px;height:40px;box-sizing:border-box;border-radius:0px;box-shadow: none;color: #454545;font-size: 12px;resize:none;width: 100%;padding: 0 10px;box-sizing: border-box;outline: none;}
.comment-form input[type="submit"]{ width:auto }
.post-password-form input[type="password"]{ height: 45px;padding: 0 10px;}
#gallery-1{ float:left; width: 100%;}
#gallery-1 figure.gallery-item{ float:left; width: 150px;height: 200px;margin-right: 20px;margin-bottom: 20px;} 


/* Add border to certs page images*/
img.image-with-border {
  border: 1px solid rgb(94, 106,113);
  width: 100%;
}

/* Fix header size for certs */
.caption-with-fixed-height {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.caption-with-fixed-height h5 {
  margin-bottom: 0;
  text-align: center;
}

.paragraphs-without-margin p {
  margin-bottom: 0;
}


/* Replace red color when hover menu entries */
@media (max-width: 767px) {
.main-nav .navbar-nav> li a:hover,.main-nav .navbar-nav> li.active a,.main-nav .navbar-nav> li a:focus,.main-nav .nav .open>a{ color:#fff !important; background-color:#7090b7 !important; }
}


/* Make blue links for widgets titles and pages titles */
.widget-title a,
.page-title a {
  color: #7090b7;
}


/* When hover - make this links black */
.widget-title a:hover,
.widget-title a.active,
.page-title a:hover,
.page-title a:active {
  color: #5e6a71;
}


/* TEST CHANGES */

/* Large blocks */
.mainpage-large-block-row {
    padding-bottom: 25px;
}
.mainpage-large-block-parent {
    cursor:pointer;
    margin:5px;
    position: relative; 
    overflow:hidden; 
    height: 300px; 
    border: 1px solid lightgray; 
    box-shadow: 5px 5px 5px #dddddd;
}
.mainpage-large-block-image {
    position: absolute; 
    width:100%; 
    height:100%;
    background-position:center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: 500ms;
}
.mainpage-large-block-parent .mainpage-large-block-image:after {
    background-color: black;
    opacity: 0.33;
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    -moz-transition: all 1s;
    -webkit-transition: all 1s;
    transition: all 1s;
}
.mainpage-large-block-parent:hover .mainpage-large-block-image:after {
    background-color: black;
    opacity: 0.5;
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    -moz-transition: all 1s;
    -webkit-transition: all 1s;
    transition: all 1s;
}
.mainpage-large-block-parent:hover .mainpage-large-block-image {
  transform: scale(1.08);
}
.mainpage-large-block-text {
    color: white; 
    padding: 10px; 
    font-size: 16px; 
    font-weight:600; 
    top: 50%; 
    transform: translateY(-50%); 
    position: relative;
    text-shadow: 1px 1px 3px black;
    /* fix jumping */
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility:    hidden;
    -ms-backface-visibility:     hidden;
    backface-visibility:         hidden;
}
.mainpage-large-block-text h1 {
    color: white;
}
.mainpage-large-block-link span {
    position: absolute; 
    z-index:100; 
    width:100%; 
    height:100%;
}

/* Small blocks */
.mainpage-small-block-row>div {
  padding-bottom: 15px;
}

.mainpage-small-block-parent {
    overflow: hidden; 
    font-size: 14px; 
    border: 1px solid lightgray; 
    border-radius:5px;
    padding: 10px;
    background-color: #ffffff;
}
.mainpage-small-block {
    cursor: pointer;
    position: relative;
    height: 300px;
    transition: 750ms;
    transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility:    hidden;
    -ms-backface-visibility:     hidden;
    backface-visibility:         hidden;
}

.mainpage-small-block-image {
    position:absolute;
    width: 100%;
    height: 100%;
    background-position:center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 5px;
    /* Fix jumping images */
    -moz-transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    
}
.mainpage-small-block h1 {
    padding:15px; 
    color: white; 
    top: 50%; 
    transform: translateY(-50%); 
    position: absolute;
    z-index:2;
    text-shadow: 1px 1px 3px black;
    /* Fix jumping images */
    -moz-transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
}

.mainpage-large-block-parent:hover .mainpage-large-block-text span,
.mainpage-small-block:hover h1 span {
    color: #7090b7;
    -moz-transition: all 1s;
    -webkit-transition: all 1s;
    transition: all 1s;
}
.mainpage-large-block-parent .mainpage-large-block-text span {
   font-weight: 800;
}

.mainpage-small-block-text {
    padding: 15px 0;
}
.mainpage-small-block:hover {
  background-position:center;
  transform: scale(1.08);
  transition: 750ms;
}
.mainpage-small-block:hover .mainpage-small-block-image {
    border-radius: 0;
}

.mainpage-small-block:after {
    background-color: #333;
    opacity: 0.33;
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    -moz-transition: all 1s;
    -webkit-transition: all 1s;
    transition: all 1s;
}

.mainpage-small-block:hover:after {
    background-color: #333;
    opacity: 0.5;
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    -moz-transition: all 1s;
    -webkit-transition: all 1s;
    transition: all 1s;
}


/* Left sidebar */
.sidebar-links-section {
    border: 1px solid #7090b7;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 5px;
}

.sidebar-single-header h4 {
  margin-bottom: 0;
}

/* Update padding from left sidebar */
/*@media (max-width: 1199px) and (min-width: 768px) {*/
    .left-sidebar .sidebar {
      padding-left: 0;
      padding-right: 0;
    }
    
    .right-sidebar .sidebar {
      padding-left: 0;
      padding-right: 0;
    }
/*}*/


/* Phone and mail in header */
dt, dd { float: left }
dt { clear:both }


/* Contact form 7 styles */
.wpcf7-form label {
  display: block;
}
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-textarea {
  width: 100%;
}


/* Popups styles */
.spu-box {
  background-color: white !important;
  border: 1px solid #333333 !important;
}

/* Fix for top menu */
@media (min-width: 800px) {
  #menu-glavnoe-menyu>li>a {
    padding:18px 15px;
  }
}

/* Footer to the bottom of screen */
html {
  height: 100% !important;
}
body {
  position: relative;
  min-height: 100%;
}
@media (min-width: 992px) {
  footer {
    position:absolute;
    width: 100%;
    bottom: 0;
  }
  section#content {
    padding-bottom: 134px; /* 94px footer + 40px padding */
  }
}


/* File upload input styles */
.label-for-hidden-button {
  word-wrap: break-word;
  white-space: normal;
}

.label-for-hidden-button input[type="file"] {
  display: none;
}

/* Primary button styles */
.btn-primary {
    border: #7090b7 solid 1px;
    border-radius: 2px;
    color: #ffffff;
    background-color: #7090b7;
    font-size: 12px;
    text-transform: uppercase;
    padding: 9px 20px;
}

.btn-primary:hover {
    background-color: #ffffff;
    color: #7090b7;
}


/* Page content styles */
.entry-summary p {
    font-size: 14px;
    line-height: 1.4;
}

/* Blockquotes styles */
blockquote {
    font-size: 18px;
    color: #7090b7;
}

/* Fix for blurry fancybox images */
#fancybox-img {
    image-rendering: -moz-crisp-edges;
    image-rendering: -o-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    -ms-interpolation-mode: nearest-neighbor;
}

/* Search submit button */
input[type="submit"] {
    border: #ffffff solid 1px;
    border-radius: 2px;
    color: #ffffff;
    font-size: 12px;
    text-transform: uppercase;
    padding: 9px 20px;
    background: #7090b7;
}
input[type="submit"]:hover {
    border: #7090b7 solid 1px;
    border-radius: 2px;
    color: #7090b7;
    font-size: 12px;
    text-transform: uppercase;
    padding: 9px 20px;
    background: none;
}
