/*
Theme Name: IFI
Theme URI: http://onetencreative.com
Author: OneTen Creative
Version: 8.4
License: GNU General Public License
License URI: license.txt
*/


/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

@font-face {
    font-family: 'socicon';
    src: url('fonts/socicon-webfont.eot');
    src: url('fonts/socicon-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/socicon-webfont.woff') format('woff'), url('fonts/socicon-webfont.ttf') format('truetype'), url('fonts/socicon-webfont.svg#sociconregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

html {
    background: #e3e3e3;
}

body {
    background: url(images/background-grid.jpg);
    padding: 0px;
    margin: 0px auto;
    font-family: Georgia;
    color: #313131;
    font-size: 14px;
    line-height: 1.4em;
}

audio,
embed {
    width: 400px !important
}

a {
    color: #2383b5;
    text-decoration: none;
}

a:hover {
    color: #0c5b91;
    text-decoration: none;
}


/*
a:hover{text-decoration:underline;}
*/

.articlearea a {
    color: #0c5b91;
    text-decoration: underline;
}

textarea,
input {
    outline: none;
}

.cufon-loading #top-nav a,
.cufon-loading .slidetxt,
.cufon-loading .slidetxt2,
.cufon-loading .action_title {
    visibility: hidden !important;
}

.alignleft {
    float: left;
    margin-right: 10px;
    margin-bottom: 7px;
}

.alignright {
    float: right;
    margin-left: 10px;
    margin-bottom: 7px;
}

.aligncenter {
    text-align: center;
    margin: 0px auto;
    display: block;
}

.title {
    float: left;
    width: 100%;
    font-size: 20px;
    font-weight: bold;
    padding-bottom: 2px;
    padding-top:10px;
}

.title a {
    color: #313131;
    text-decoration: none;
}

.title a:hover {
    color: #2383b5;
    text-decoration: none;
}

.menu_nav {
    font-size: 16px;
    font-weight: normal;
    padding: 2px 0px
}

.category_row .title {
    float: left;
    width: 100%;
    font-size: 12px;
    font-weight: bold;
    padding-bottom: 2px;
}

p {
    display: block;
    -webkit-margin-before: 0em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    margin-top: 0px;
}

img,
img a {
    border: none;
}

#wpstats {
    position: absolute !important;
    visibility: hidden !important;
    top: -10px;
}

#newsletter {
    width: 100%;
    padding: 0px;
    position: relative;
    margin: 0px auto;
    height: 10px;
    background: url(images/newsletter-bar.jpg) center top;
    z-index: 99;
}

#header {
    width: 100%;
    padding: 0px;
    position: relative;
    margin: 0px auto;
    height: 182px;
    background: url(images/background-header.jpg) center top;
    color: #0c5b91;
    border-bottom: #c0c0c0 1px solid;
    z-index: 100;
}

#header-container {
    max-width: 1160px;
    padding: 0px 29px;
    position: relative;
    margin: 0px auto;
    height: 182px;
    background: url(images/background-header.jpg) center top;
}

#top-nav {
    float: left;
    margin-right: 0px;
    position: relative;
}

#top-nav a {
    padding: 4px 12px 8px;
    color: #303030;
    height: 26px !important;
    overflow: hidden;
}

#top-nav:hover a {
    padding: 3px 11px 7px;
    border-radius: 3px;
    border: #d1d1d1 1px solid;
    color: #2383b5;
    height: 26px !important;
    overflow: hidden;
    background: #fff;
}

.ifisub {
    display: none;
    position: absolute;
    width: 100%;
    top: 24px;
    left: 0px;
    background: #2383b5;
    min-height: 10px;
    padding-top: 5px;
}

#top-nav:hover .ifisub {
    display: block;
}

#top-nav .ifisub a {
    color: #f1f1f1;
    height: 26px !important;
    overflow: hidden;
    padding: 1px 12px 1px;
    display: block;
}

#top-nav:hover .ifisub a {
    padding: 1px 12px 1px;
    border-radius: 0px;
    border: #fff 0px solid;
    color: #fff;
    overflow: hidden;
    background: none;
}

.register_btn,
.contribute a {
    padding: 3px 15px 6px !important;
    background: url(images/background-top_nav.png) repeat-x !important;
    color: #fff !important;
    border-radius: 3px;
    margin-left: 8px;
    border: #d05822 1px solid !important;
}

.woocommerce .button {
    padding: 3px 15px 6px !important;
    background: url(images/background-top_nav.png) repeat-x !important;
    color: #fff !important;
    border-radius: 3px;
    margin-left: 8px;
    border: #d05822 1px solid !important;
    color: #fff;
    text-align: center;
    float: left;
    margin-bottom: 15px;
    margin-right: 15px;
    clear: both;
}

.wc-proceed-to-checkout a {
    color: #fff;
}

.register_btn:hover,
.contribute a:hover {
    border: none !important;
    color: #fff !important;
    background: #f15b29 !important;
    border-radius: 3px;
    border: #d05822 1px solid !important;
}

.register_btn a {
    padding: 5px 15px 6px 8px;
}

.register_btn {}

#slideshow {
    /*  background: url(images/background_slider.jpg) center top no-repeat;
   */
}

input, textarea, select{
    border: 1px solid #bfbfbf;
    max-width: 100% !important;
}

select{
   max-width: 99% !important; 
}

.gform_body{
    width: 100% !important;
}

#slideshow-container {
    /*background: url(images/background_slider2.jpg) center top repeat-x;*/
    background: rgba(14, 76, 118, 1);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(14, 76, 118, 1)), color-stop(100%, rgba(2, 32, 57, 1)));
    background: -webkit-linear-gradient(top, rgba(14, 76, 118, 1) 0%, rgba(2, 32, 57, 1) 100%);
    background: linear-gradient(to bottom, rgba(14, 76, 118, 1) 0%, rgba(2, 32, 57, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#0e4c76', endColorstr='#022039', GradientType=0);
    height: 365px;
    width: 100%;
    overflow: hidden;
    text-align: center;
    position: relative;
}

#slideshow script {
    display: none;
}

#frame {
    background: url(images/frame.png) center top no-repeat;
}

#rotate {
    filter: progid: DXImageTransform.Microsoft.BasicImage(rotation=0.3);
    -moz-transform: rotate(-1.0deg);
    -webkit-transform: rotate(-1.0deg);
    -o-transform: rotate(-1.0deg);
    -ms-transform: rotate(-1.0deg);
    background: transparent;
    background: #fff;
}

#container {
    max-width: 1160px;
    width: 100%;
    margin: 0px auto;
    position: relative;
    min-height: 700px;
    background: #fff;
    overflow: hidden;
    border-left: #8c8c8c 1px solid;
    border-right: #8c8c8c 1px solid;
    padding-bottom: 0px;
    z-index: 9 !important;
}

#pre-container {
    width: 100%;
    position: relative;
    margin: 0 auto;
    background: url(images/background-container.jpg) repeat-x;
}

#pre-container2 {
    width: 100%;
    position: relative;
    margin: 0 auto;
    background: url(images/shadow-container.png) repeat-y center;
}

#menu {
    width: 206px;
    float: left;
    margin-right: 29px;
    overflow: hidden;
}

.social_icon {
    display: inline-block;
    background: url(images/background-icon.png);
    margin-right: 13px;
    height: 26px;
    width: 34px;
    overflow: hidden;
    text-align: center;
    padding-top: 8px;
}

.social-networks>div{
    float: none !important;
    text-align: center;
}

.social_icon:hover {
    background-position: bottom;
}

#main {
    width: 70%;
    float: left;
}

.sharebutton {
    position: relative;
    margin: 0 auto;
    padding: 5px;
    text-align: center;
}

.at300bs {
    background: none !important;
    background-position: 0px 3px !important;
    float: right !important;
    margin-left: 0px !important;
    width: 1px !important;
}

.footer_share .at300bs {
    background: none !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.sharebutton:first-child {
    padding-top: 0px;
}

.sharebutton:last-child {
    padding-bottom: 0px;
}

#ads {
    width: 280px;
    float: right;
    overflow: hidden;
}

.join {
    background: url(images/signup.jpg) no-repeat;
    background-position: 0px 0px;
}

.official {
    background: url(images/officials.jpg) no-repeat;
    background-position: 0px 0px;
}

.guide {
    background: url(images/guide.png) no-repeat;
    background-position: 0px 0px;
}

.district {
    background: url(images/district.png) no-repeat;
    background-position: 0px 0px;
}

.bus {
    background: url(images/bus.png) no-repeat;
    background-position: 0px 0px;
}

.find {
    background: url(images/find.png) no-repeat;
    background-position: 0px 0px;
}

.button-bill {
    background: url(images/button-bill.png) no-repeat;
    background-position: 0px 0px;
}

.button-video {
    background: url(images/video.png) no-repeat;
    background-position: 0px 0px;
}

.find:hover,
.join:hover,
.official:hover,
.bus:hover,
.guide:hover,
.district:hover,
.button-video:hover,
.button-bill:hover {
    background-position: 0px -60px;
}

.category_row {
    line-height: 1em;
}

.nav_toggle {
    float: right;
    margin-top: 3px;
    margin-right: 15px;
    height: 5px;
    background: url(images/nav-bg.jpg) no-repeat;
    background-position: 0px 5px;
}

.term_comment_1 {
    height: 23px;
}

.term_comment_2 {
    height: 46px;
}

.term_comment_3 {
    height: 69px;
}

.term_comment_4 {
    height: 92px;
}

.term_comment_5 {
    height: 115px;
}

.term_comment_6 {
    height: 138px;
}

.slide_politics,
.slide_gambling,
.slide_federal,
.slide_faith,
.slide_marriage,
.slide_life,
.slide_education,
.slide_religious,
.slide_media,
.slide_pronography,
.slide_homosexuality,
.sub_menu_nav {
    display: none;
    float: left;
    font-family: Arial;
    font-size: 14px;
    color: #2383B5;
    width: 100%;
}

.sub_menu_nav a {
    color: #2383B5 !important;
}

.slide_politics a,
.slide_gambling a,
.slide_federal a,
.slide_faith a,
.slide_marriage a,
.slide_life a,
.slide_education a,
.slide_religious a,
.slide_media a,
.slide_pronography a,
.slide_homosexuality a {
    display: block;
    padding-bottom: 1px;
}

#event_img img {
    width: auto !important;
    height: 180px !important;
}

.ticket-selector-submit-btn,
#spco-go-to-step-payment_options-submit,
#ee-stripe-button-btn {
    padding: 3px 15px 6px !important;
    background: url(images/background-top_nav.png) repeat-x !important;
    color: white !important;
    border-radius: 3px !important;
    margin-left: 8px;
    border: #D05822 1px solid !important;
    float: right !important;
    width: auto !important;
    cursor: pointer;
}

.ee-available-payment-method-inputs,
#method-of-payment-hdr,
#ee-available-payment-method-inputs--input-dv {
    visibility: hidden;
    height: 1px;
    overflow: hidden;
}

.spco-disabled-submit-btn,
.spco-disabled-submit-btn:hover {
    visibility: hidden;
}

#input_fields input[type=text] {
    width: auto;
    border: 1px solid #b7b7b7;
    margin-bottom: 20px;
    padding: 9px;
    border-radius: 10px;
    background: #e7e7e7;
    width: 498px;
    max-width: 85% !important;
    
}

#input_fields .event_form_field input[type=text] {
    float: left;
    width: auto;
    border: 1px solid #b7b7b7;
    margin-bottom: 20px;
    padding: 9px;
    border-radius: 10px;
    background: #e7e7e7;
    width: 300px;
}

.event_espresso_form_wrapper label,
.event_espresso_form_wrapper span.label {
    width: 80px;
}

#input_fields input[type=checkbox] {
    float: left;
    width: auto;
    clear: both;
}

#input_fields textarea {
    float: left;
    width: auto;
    border: 1px solid #b7b7b7;
    margin-bottom: 20px;
    padding: 9px;
    border-radius: 10px;
    background: #e7e7e7;
    width: 498px;
    height: 200px;
    resize: none;
    font: inherit;
    font-family: arial;
}

table {
    display: table;
    border-collapse: separate;
    border-spacing: 0px;
    border-color: grey;
}

.tkt-slctr-tbl-wrap-dv {
    margin: 1em 0;
    font-size: 1em;
}

.display-tckt-slctr-tkt-details,
.hide-tckt-slctr-tkt-details {
    margin: 0 0 0 0em;
    width: 100%;
    display: block;
    clear: both;
}

.tckt-slctr-tbl-td-name {
    max-width: 30%;
    padding: 15px 0;
}

.default_event_text {
    display: none;
}

#footer {
    width: 100%;
    position: relative;
    margin: 0px auto;
    border-top: #c0c0c0 solid 1px;
    height: 148px;
    background: #fff url(images/background-footer.jpg) center top;
    overflow: hidden;
}

#footer a {
    color: #898989;
}

#footer a:hover {
    color: #2383B5;
}

#footer-container {
    padding: 29px 0 58px;
    max-width: 1062px;
    margin: 0px auto;
    font-family: arial;
    position: relative;
    overflow: hidden;
}

#footer .social_icon {
    float: left;
    background: url(images/background-icon2.png);
    margin-left: 3px;
    overflow: hidden;
}

.social_icon a {
    color: #fff !important;
    font-family: 'socicon';
    font-size: 22px;
}

#footer .social_icon:hover {
    background-position: bottom;
}

#main #error .wpdberror {
    display: none;
}

.title-spacing {
    padding-top: 15px;
}

.tribe-events-ajax-loading {
    display: none;
}

.event-date {
    font-size: 12px;
}

.tribe-events-event-image img {
    border: 1px solid #7F7F7F !important;
}

.tribe-events-tickets tr:first-child {
    background-color: lightgray;
}

.tribe-events-tickets tr td {
    padding: 8px 2px !important;
}

.tribe-events-tickets tr:last-child td {
    padding-top: 5px !important;
}

.tribe-events-tickets .button.alt {
    padding: 6px 25px !important;
    background: url(images/background-top_nav.png) repeat-x !important;
    color: #fff !important;
    font-size: 16px;
    font-weight: 600;
    border-radius: 3px;
    border: #d05822 1px solid !important;
}

.tribe-events-tickets .button.alt:hover {
    border: none !important;
    color: #fff !important;
    background: #f15b29 !important;
    border-radius: 3px;
    border: #d05822 1px solid !important;
}

.tribe-events-tickets-title {
    margin: 35px 0 5px !important;
}

td.woocommerce .quantity input {
    padding-left: 5px;
    width: 110px;
    height: 18px;
    text-align: center;
}

.clear {
    clear: both;
}

.search-grid-block {
    clear: both; width:100%; padding-bottom:18px; margin-bottom:18px; border-bottom: 1px dashed #7F7F7F;
}

.search-grid-block .mainarticleimage{
    margin-right: 10px;
    margin-bottom: 10px;
}

.grid_content_area .title{
    float: none;
}

.footer-categories {
    max-width: 1062px;
    position: relative;
    margin: 0 auto;
    padding: 29px;
    padding-top: 15px;
    padding-bottom: 0px;
    border-left: #8c8c8c 1px solid;
    border-right: #8c8c8c 1px solid;
    overflow: hidden;
}

.footer-col {
    float: left;
    width: 21.5%;
}

.post-block {
    width: auto;
    margin-left: 190px;
}

.post-block .title {
    float: none;
}

#slideshow .wpsisac-slick {
    background-color: transparent;
}

#slideshow .wpsisac-slick-slider .wpsisac-slide-wrap img {
    width: 80%;
    height: 80%;
    margin-top: 5%;
    filter: progid: DXImageTransform.Microsoft.BasicImage(rotation=0.3);
    -moz-transform: rotate(-1.0deg);
    -webkit-transform: rotate(-1.0deg);
    -o-transform: rotate(-1.0deg);
    -ms-transform: rotate(-1.0deg);
    border: 7px solid white;
}

#slideshow .wpsisac-slick.wpsisac-prodesign-7 .wpsisac-slide-image-bg {
    background-color: transparent;
}

#slideshow .wpsisac-slide-title {
    font-size: 45px;
    padding-bottom: 10px;
    color: #fff;
    line-height: 1.6em;
}

#slideshow .wpsisac-slider-content {
    padding-top: 60px;
}

#slideshow .wpsisac-slider-short-content p {
    font-size: 22px;
    color: #fff;
    line-height: 1.6em;
}

.left-menu-items {
    float: left;
    width: 95%;
    border-right: 1px solid #7f7f7f;
    margin-bottom: 29px;
    line-height: 1.6em;
}

.social-networks {
    float: left;
    width: 100%;
    margin-bottom: 29px;
    margin-top: 29px;
}

.left-search {
    float: left;
    width: 95%;
    border: 1px solid #b7b7b7;
    margin-bottom: 29px;
    padding: 2px;
    border-radius: 10px;
    background: #e7e7e7;
}

.ifi-video {
    clear: both;
    float: left;
    width: 280px;
    height: 155px;
    overflow: hidden;
    position: relative;
}

.last-ad-block {
    float: left;
    width: 320px;
}

.last-ad-item {
    float: left;
    width: 125px;
    height: 125px;
    margin-bottom: 29px;
    margin-right: 29px;
}

.footer-line {
    float: left;
    width: 1px;
    height: 244px;
    border-right: 1px solid #7f7f7f;
    margin: 0px 2%;
}

.image-post-cont {
    width: 180px;
    height: auto;
    float:left;
    overflow: hidden;
}

.image-post-cont img{
    height: 180px;
    width: auto;
    margin-left: auto;
    margin-right: auto;
}

.mainarticleimage {
    float: left;
}

#main>.mainarticleimage>img,
#main>.mainarticleimage {
    display: block;
    width: 100% !important;
    height: auto !important;
    line-height: 0.7em;
    margin-left: auto;
    margin-bottom: 5px;
}

.menu-header .menu-item {
    display: inline-block;
    height: 26px !important;
}

.menu-header .menu-item a {
    color: #303030;
    font-family: Arial;
    font-size: 15px;
    padding: 5px 10px;
    font-weight: bold;
    border: 1px solid transparent;
    border-radius: 2px;
    white-space: nowrap;
}

#menu-top-navigation>li>.sub-menu{
    position: absolute;
    padding-left: 10px;
    padding-top: 20px;
    margin-top: 5px;
    background-color: #f4f4f4;
    display: none;
    z-index: 9999;
    border: 1px solid black;
}

#menu-top-navigation>li>.sub-menu>li{
    position: relative;
}

#menu-top-navigation>li.menu-item-has-children{
    position: relative;
    padding-right: 15px;
}

#menu-top-navigation>li.menu-item-has-children:after{
    content: '>';
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    position: absolute;
    color: #444;
    right: 5px;
    top: 1px;
}



#menu-top-navigation>li>.sub-menu>li.menu-item-has-children:after{
    content: '>';
    position: absolute;
    color: #444;
    right: 5px;
}

#menu-top-navigation>li>.sub-menu>li>.sub-menu{
    display: none;
    position: absolute;
    margin-left: 100%;
    width: 100%;
    top: 0;
    padding-left: 0;
}

#menu-top-navigation>li:hover>.sub-menu{
    display: block;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

#menu-top-navigation>li:hover>.sub-menu>li:hover>.sub-menu{
    display: block;
    position: absolute;
    padding-top: 0;
    margin-left: 100%;
    width: 100%;
}

#menu-top-navigation>li:hover>.sub-menu>li:hover>.sub-menu a{
    background-color: #e9e9e9;
    border: 1px solid black;
}

#menu-top-navigation .sub-menu>li{
    display: block;
}

.menu-header {
    float: right;
    margin-top: 90px;
}

.menu-header .menu-item.orange a {
    color: white;
    padding: 5px 15px;
    background: rgba(254, 165, 106, 1);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(254, 165, 106, 1)), color-stop(7%, rgba(254, 165, 106, 1)), color-stop(37%, rgba(243, 98, 40, 1)), color-stop(100%, rgba(243, 98, 40, 1)));
    background: -webkit-linear-gradient(top, rgba(254, 165, 106, 1) 0%, rgba(254, 165, 106, 1) 7%, rgba(243, 98, 40, 1) 37%, rgba(243, 98, 40, 1) 100%);
    background: linear-gradient(to bottom, rgba(254, 165, 106, 1) 0%, rgba(254, 165, 106, 1) 7%, rgba(243, 98, 40, 1) 37%, rgba(243, 98, 40, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#fea56a', endColorstr='#f36228', GradientType=0);
    background-color: #f15b29;
    border: 1px solid grey;
}

.menu-header .menu-item a:hover {
    border: 1px solid grey;
    border-radius: 2px;
    color: #338cbb;
    background-color: white;
}

.menu-header .menu-item.orange a:hover {
    background-image: none;
    color: white;
    background-color: #f15b29;
}

.site-logo {
    float: left;
    margin-top: 16px;
    font-weight: bold;
}

#main .size-full{
    max-width: 100%;
    height: auto !important;
}

.event-text {
    width:70%; 
    float:right;
}


#main.voice {
    width: 750px;
}

.voice .size-post-thumbnail{
    max-width: 100%;
    height: auto !important;
}

.padding-block {
    padding:29px;
}

.main-big-picture {
    text-align: center; width:100%; margin-bottom:12px; float:left;
    height: auto;
        border: 1px solid #7F7F7F;
    line-height: 0.7;
}

.main-big-picture img{
    width: 100% !important;
    height: auto !important;
}

.icon-arrow{
    cursor: pointer;
    height: 20px;
    margin-top: 5px;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.ifi-block-1.big .icon-arrow{
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.icon-arrow img{
    width: 20px;
}

.ifi-block-1{
    clear: both;
    overflow: hidden;
    position: relative;
    left: 50%;
    margin-left: -90px;
    width: 180px;
}

.ifi-block-1 .title{
    float: none;
    clear: both;
}

    .grid_content_area{
        margin-left: 190px;
    }
.image-event-cont {
    width:27%;
    height:auto;
    float:left; border:1px solid #7F7F7F;
    line-height: 0;
}

.image-event-cont img{
    width: 100%;
    height: auto;
}

@media (max-width: 1160px) {
    .menu-header {
        float: none;
        margin-top: 0;
        clear: both;
        text-align: center;
    }
    
    .site-logo {
        float: none;
        margin: 0 auto;
        text-align: center;
        display: block;
    }
    
    .site-logo img{
        margin-top: 10px;
    }
}

@media (max-width: 1100px) {
    #footer-container {
        padding: 29px 15px 58px;
    }
    #menu {
        width: 30%;
        float: left;
        margin-right: 29px;
        overflow: hidden;
    }
    #main, #main.voice {
        width: 65%;
        float: right;
        overflow: hidden;
    }
    #ads {
        width: 30%;
        float: left;
        overflow: hidden;
    }
    .slides_container {
        margin: 30px auto;
    }
}

@media (max-width: 980px) {
    
    #header{
        height: 205px;
        background-size: cover;
    }
    
    #header-container{
        background-image: none;
    }
    
    button#responsive-menu-button{
        top: 40px;
    }
    
    .site-logo img{
        margin-top: 55px;
    }
    
    #slideshow-container{
        display: none;
    }
    
    .home #pre-container2{
        margin-top: 15px;
    }
    
    .menu-header{
        display: none;
    }
    .last-ad-item {
        width: 20%;
        height: auto;
        margin-right: 5%;
        margin-bottom: 5%;
    }
    .last-ad-item:nth-child(4n) {
        margin-right: 2.5%;
    }
    .last-ad-item:nth-child(4n+1) {
        margin-left: 2.5%;
    }
    .last-ad-item img {
        width: 100% !important;
        height: auto !important;
    }
    #menu {
        margin: 0;
        float: none;
        width: 100%;
    }
    .social-networks {
        margin-top: 0;
        width: 48%;
    }
    .social-networks>div {
        position: relative;
        float: none !important;
    }
    .left-menu-items {
        float: none;
        width: 100%;
        clear: both;
        border: none;
    }
    .left-menu-items .title:not(.menu_nav) {
        float: none;
        text-align: center;
    }
    .left-menu-items .menu_nav:nth-child(3n+2) {
        clear: both;
    }
    .footer-line:nth-child(4) {
        display: none;
    }
    .menu_nav {
        width: 33%;
        margin-top: 10px;
        text-align: center;
    }
    .left-search {
        width: 48%;
        float: right
    }
    .ifi-block {
        width: 320px;
        clear: both;
        margin: 0 auto;
    }
    #slideads2 {
        width: 50% !important;
        margin-bottom: 40px;
    }
    #slideads2 .slides_container {
        margin: 0 !important;
        float: right;
    }
    #main, #main.voice {
        width: 100%;
    }
    #ads {
        width: 100%;
        clear: both;
    }
    #ads>.action_title {
        float: none !important;
        clear: both;
        text-align: center;
    }
    #slideads {
        margin: 0 auto;
    }
    .ifi-video {
        float: none;
        margin: 20px auto;
    }
    #ads>.category_row {
        text-align: center;
    }
    .button-video,
    .join,
    .official,
    .button-bill {
        position: relative;
        left: 50%;
        margin-left: -140px;
    }
    .last-ad-block {
        width: 100%;
    }
    .footer-col {
        width: 46%;
    }
    .footer-col:nth-child(5) {
        clear: both;
    }
}

@media (max-width: 768px) {
    #slideshow-container {
        height: auto;
    }
    #slideshow {
        height: auto !important;
        margin-bottom: 30px !important;
    }
    #footer {
        height: auto !important;
        background-image: none;
        background-color: #e9e7e9;
    }
}

@media (max-width: 600px) {
    #wpadminbar {
    position: fixed;
}
}

@media (max-width: 550px) {
    .event-thumb>div>img{
        width: 100% !important;
        height: auto !important;
    }
    .event-text{
        float: none;
        width: auto;
    }
    
    .event-text>div{
        float: none !important;
    }
    
    #main{
        overflow: visible;
    }
    
    .image-post-cont{
        width: 100%;
        height: 180px;
        margin-bottom: 15px;
        line-height: 0.7;
    }
    .image-post-cont img{
        width: 100%;
        height: 180px;
        margin-left: 0;

        
    }
    
    .image-event-cont {
        width:100%;
        height:auto;
        margin-bottom: 15px;
        line-height: 0;
    }

    .image-event-cont img{
        width: 100%;
        height: auto;
    }
        .post-block {
        margin-left: 0;
    }
        .grid_content_area{
        margin-left: 0;
    }
}

@media (max-width: 500px) {
    #wpadminbar {
    /* position: absolute; */
}
    a>.mainarticleimage{
        margin-right: 10px;
        margin-bottom: 10px;
    }

    .grid_content_area>.title{
        float: none;
    }
    .menu_nav {
        width: 100%;
        margin-top: auto;
        text-align: left;
    }
    .social-networks {
        width: 100%;
    }
    .left-search {
        width: 97%;
        float: left;
    }
    .ifi-block {
        width: 100%;
        clear: both;
        float: left;
        text-align: center;
    }
    .ifi-block-1 {
        position: relative;
        left: 50%;
        margin-left: -100px;
    }
    .ifi-block .category_row:nth-child(2) {
        margin-top: 15px;
    }
    #slideads2 {
        width: auto !important;
        margin: 30px auto;
        position: relative;
        left: 50%;
        margin-left: -102px;
    }
    .last-ad-item {
        width: 45%;
        height: auto;
        margin: 0 !important;
        margin-bottom: 5% !important;
    }
    .last-ad-item:nth-child(odd) {
        margin-right: 10% !important;
    }
    .image-post-cont {
        margin: 10px;
        margin-left: 0;
    }
    #slideshow {
        height: auto !important;
    }
    .footer-line {
        display: none;
    }
    .footer-col {
        width: 100%;
    }
}

@media (max-width: 340px) {
    .padding-block{
        padding: 10px;
    }
    .button-video, .join, .official, .button-bill{
        float: none !important;
        clear: both;
    }
}
