
.animated.fast {
    -webkit-animation-duration: .3s;
    animation-duration: .3s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

#header {
    position: relative;
    overflow: hidden;
    background: #000;
        -webkit-box-shadow: 1px 1px 15px 0px rgba(50, 50, 50, 0.93);
    -moz-box-shadow:    1px 1px 15px 0px rgba(50, 50, 50, 0.93);
    box-shadow:         1px 1px 15px 0px rgba(50, 50, 50, 0.93);    

}

#header .header-background {
    height: 450px;
    background: #000;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

}

#header .header-background-overlay {
    height: 450px;
    background: #000000;
}

#header h1 {
    color:#FFF;
    position: absolute;
    /*right: 40px !important;*/
    bottom: 0px;
    font-family: 'Roboto Condensed', cursive;
    font-size: 52px;
    font-weight: 300;
    text-shadow: 1px 1px 1px #000;
    width: 60%;
    left: inherit !important;
    padding: 100px 40px 0px 30%;
    width: 100%;
    /* background: url(/assets/img/tip-shadow-big-img.png) repeat-x bottom;*/
    margin-bottom: 0px;
}

#header h1 a{
    color: #FFF;
    border-bottom: 1px dashed;
}

#header h1 a.button{
    border: none;
    z-index:10;
}

#header h1 textarea{
    line-height: normal;
}
#header h1 small {
    font-size: 15px;
    font-family: Sans;
    font-weight: 300;
    color: #FFF;
    display: block;
    font-family: 'Roboto Condensed', sans-serif;
    text-shadow: none;
    padding: 20px 0px 20px;
    line-height: 20px;
}

#header h2 {
    position: absolute;
    bottom: 30%;
    left: 230px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: bold;
    font-size: 30px;
    color: #000;
}

#header h3 {
    position: absolute;
    font-family: 'Roboto Condensed', sans-serif;
    color: #FFF;
    top: 20%;
    left: 10%;
    font-weight: 100;
    font-size: 20px;
}

#footer .footer-background-bottom,
#header .header-background-bottom {
    height: 100px;
    width: 100%;
    position: absolute;
    bottom: 0px;
    background: url("../img/bg-bottom.png") repeat-x top left;
}

#footer .footer-background-bottom {
    height: 150px;
}

#header .header-background-top {
    height: 150px;
    width: 100%;
    position: fixed;
    top: 0px;
    background: url("../img/bg-top.png") repeat-x bottom;
}



#main-menu{
    height: 70px;
    /*padding: 0px 100px;*/
}


#main-menu li a{
    line-height: 70px;
    font-size: 15px;
    padding: 0px 30px;
    font-family: "Open Sans", sans-serif;
}

#main-menu .logo{
    height: 70px;
    opacity: .9;
    position: absolute;
    z-index:999;
    left: 10px;
}
#main-menu  .contain-to-grid {
    top: 0px;
    position: fixed;
    z-index: 500;

    background-color: rgba(0, 0, 0, 0.8);
}

#main-menu .button{
    line-height: 70px;
    height: 70px;
    padding: 0px 30px;
    top: 0px;
}

#main-menu .f-dropdown{
    z-index: 1000;
}


#main-menu nav {
    background: none;
    width: 100%;

}


#main-menu .menu-background{
    width: 100%;
    height: 70px;
    position: fixed;
    top:0px;
    background: #000;
    opacity: .8;
}
.top-bar .name{
    height: 70px;
    width: 199px;
}
.top-bar{
    height: 70px;
    line-height: 70px;
}


.top-bar-section li.active:not(.has-form) a:not(.button){
    background: #B40404;
}
.f-topbar-fixed {
    padding-top: 0px !important;
}

#body {
    background: #F1F2F3;
    font-family: 'Open Sans', sans-serif;
    padding-top: 20px;
}

#body .flex-video {
    margin: 0px;
}

#body .row {
    max-width: 100%;
    /* padding: 10px 0px;*/

}

#body .column:first-child{
    padding-left: 20px;

}
#body .column:last-child{
    padding-right: 20px;
}
#body .column{
    padding: 0px 15px;
}

#body.news .row .column a:not(.button){
    height: 300px;
    overflow: hidden;
    display:block;
}

#body.news .row .column .admin-buttons{
    position: absolute;
    right: 10px;
    top: 10px;
}

#body h1 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 200;
    margin-top: 20px;
    text-align: center;
    text-transform: uppercase;
}

#body h3 {
    font-family: 'Roboto Condensed', sans-serif;
    margin-bottom: 30px;
    font-size: 35px;
    line-height: 36px;
}

#body h3 a{
    color: #333;
    border-bottom: 1px dashed;
}

#body h3 a.button{
    color: #FFF;
    border: none;
    z-index: 10;
}


#body .large-3 h3{
    font-size: 20px;
    line-height: 23px;
}
#body .medium-4 h3,
#body h4 {
    font-family: 'Roboto Condensed', sans-serif;
    margin-bottom: 10px;
    font-size: 25px;
    line-height: 26px;
}

#body h4 a{
    color: #333;
    border-bottom: 1px dashed;

}
#body.news .medium-6 p,
#body.news .medium-4 p {
    font-size: 13px;
    font-family: 'Open Sans', sans-serif;
}

#body .column .orbit {
    margin: 0px 30px 30px 30px;
    padding: 3px;
    -webkit-box-shadow: 2px 2px 15px 0px rgba(50, 50, 50, 0.3);
    -moz-box-shadow: 2px 2px 15px 0px rgba(50, 50, 50, 0.3);
    box-shadow: 2px 2px 15px 0px rgba(50, 50, 50, 0.3);
}



#footer {
    /*height: 200px;*/
    position: relative;
    clear: both;
    background: #333333;
    font-family: 'Roboto Condensed', sans-serif;
}

#footer .row{
    padding: 30px 0px;
    color: #FFF;
    max-width: 100%;
}

#footer .row img{
    opacity: .2;
    width: 70%;
    float:right;
}
#footer a{
    color: #FFF;
    border-bottom: 1px dashed #CCC;
}
#footer a:hover{
    border-bottom: none;
}

#footer p{
    line-height: 10px;
}
#footer p small{
    color: #AAA;
}

#footer h2{
    text-align: center;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    color: #FFF;
    font-size: 72px;
    padding-top: 0px;
    text-shadow: 1px 1px 5px #000;
    margin: 0px;
    line-height: 50px;
}

#footer h3{
    padding-top: 20px;
    text-align: center;
    color: #FFF;
    font-size: 40px;
    margin: 0px;
    font-family: 'Roboto Condensed', sans-serif;
}

.ajax-loader{
    width: 54px;
    height: 54px;
    background: url(/assets/img/ajax-loader.GIF) no-repeat;
    display: inline-block;
}

.animated {
    opacity: 1 !important;
}

.ab-line {
    height: 1px;
    width: 40%;
    background: #dadada;
    margin: 0 auto;
    position: relative;
    margin-top: 20px;
    margin-bottom: 50px;
}

.line {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 1px solid #dadada;
    display: block;
    margin: 0 auto;
    position: absolute;
    left: 50%;
    top: -2px;
    background: #fff;
}

.button {
    -webkit-box-shadow: 2px 2px 5px 0px rgba(50, 50, 50, 0.3);
    -moz-box-shadow: 2px 2px 5px 0px rgba(50, 50, 50, 0.3);
    box-shadow: 2px 2px 5px 0px rgba(50, 50, 50, 0.3);
    font-family: 'Roboto Condensed', sans-serif;
    z-index: 20;

}

table .button{
    box-shadow: none;
    margin: 0px;
}

button, .button {
    background: #444;
    border: 1px solid #aaa;
}

#back-top {
    position: fixed;
    bottom:20px;
    right: 2%;
    z-index: 100;
    width: 39px;
    height: 39px;
}

#back-top a {
    width: 39px;
    height: 39px;
    display: block;
    background: url(../img/back_to_top_btn.png) no-repeat;
}

button:hover, button:focus, .button:hover, .button:focus {
    background-color: #111;
}

.uploadcover{
    position: absolute;
    bottom: 73px;
    left: 55px;
}

.uploadcover .button{
    z-index: 10;
}

input[type="date"]{
    width: 300px;
}

#attachments{
    /*padding-bottom: 20px;*/
    position: relative;
  /*  overflow: hidden;*/
}
#attachments li{
    position: relative;
}
#attachments .attachment{
    width: 100%;
    height: 150px;
    position: relative;
    border:1px solid #777;
    display:block;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    margin-bottom:10px;
}

#attachments .button{
    position: absolute;
    top:0px;
    right: 0px;
    z-index: 10;
}

#attachments .attachment img{
    visibility: hidden;
}

#attachments li{
    padding: 3px 3px 3px 0px;
    margin-right: 3px;
    margin: 0px;
}

#body.addpost h4{
    padding-top: 20px;
}

.input-wrapper.error input,
.input-wrapper.error textarea{
    border: 1px solid red !important;
    -webkit-box-shadow: 0px 0px 16px 0px rgba(255, 121, 109, 0.75);
    -moz-box-shadow:    0px 0px 16px 0px rgba(255, 121, 109, 0.75);
    box-shadow:         0px 0px 16px 0px rgba(255, 121, 109, 0.75);
}

#body .row .column{
    margin-bottom: 22px;
}

#body .news-cover{
    margin-bottom: 10px;
    height: 300px;
    background-size:   cover; background-position: center center;
    position: relative;
    overflow: hidden;
    display: none;
}

.shadow-bg {
    background: url("/assets/img/tip-shadow-big-img.png") repeat-x scroll bottom;
    opacity: 0.5;
    /* background: #000;*/
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    margin-right: 1px;
}

#header .shadow-bg {
    background: url("/assets/img/tip-shadow-big-img.png") repeat-x scroll bottom;
}

#header.tags,
#header.tags .header-background{
    background: #333;
    height: 200px;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 25;
    -webkit-box-shadow: 1px 1px 15px 0px rgba(50, 50, 50, 0.93);
    -moz-box-shadow:    1px 1px 15px 0px rgba(50, 50, 50, 0.93);
    box-shadow:         1px 1px 15px 0px rgba(50, 50, 50, 0.93);        
}
#header.tags{
    height: 220px;
    background: #F1F2F3;
    box-shadow: none; 
   
}

#header.tags .line-bg{
    position: absolute;
    border-top: 3px solid #AAA;
    bottom: 2px;
    height: 18px;
}

#header.tags h1{
    padding: 40px 0px;
    text-align: center;
}

#body .news-cover .info{
    position: absolute;
    bottom: 0px;
    left: 0px; 
    padding: 10px;
    overflow: hidden;
    width: 100%;
}
#body .news-cover .info p{
    font-size: 11px;
    line-height: 14px;
    color: #ddd;
    margin-bottom: 0px;
    display: none;
}
#body .news-cover .info .published{
    display:none !important;
    margin-top: 10px;
}
#body .news-cover h3{
    color: #FFF;
    margin: 0px 0px 10px 0px;
    height: auto !important;
    text-shadow: 1px 1px 1px #000;

}

#body  .news-cover .button{
    margin-top: 20px;
    display: none;
    width: 200px;
}

#body li:hover .news-cover i{
    background: #000;
    background-image: none !important;
    opacity: 0.9;
}

#body li:hover .news-cover .info{
    bottom: inherit;
    top:10px;
}
#body li:hover .news-cover .button,
#body li:hover .news-cover .info p{
    display: block !important;
}

#body li:hover ul.tags{
    display: block;
}

#body ul.row{
    list-style: none;
}

ul.tags{
    position:absolute;
    bottom: 0px;
    left: 15px;
    margin: 0px;
}

#body ul.tags{
    display: none;
}

#header ul.tags{
    position: relative;
    left: 0px;
    margin-top: 15px;
    overflow: hidden;
    margin-bottom: -15px;
}

ul.tags li{
    display:inline-block;
}

ul.tags li .button{
    margin: 0px;
    padding: 4px;
    opacity: .5;
    z-index: 1;
}
ul.tags li a.button:hover{
    opacity:1;
}

#body.news-view .row{
    max-width: 62.5rem;
}

.line-bg{
    background: url(/assets/img/stripe_a2e33af42f001b5aff10b0903d9987d9.png)  #F1F2F3;;
    height: 14px;
    width: 100%;
    opacity:.5;
    margin-top: 3px;
}




@media only screen and (min-width: 328px) {

    #footer .row{
        padding:20px 0px 0px 0px;
    }
    #header h1 {
        left: 20px;
        font-size:44px;
        line-height: 45px;
        padding-left: 20px;
        padding-right: 20px;
    }

    #header h1 small {
        font-size: 12px;
    }

    #header h2, #header h3 {
        left: 50px;
    }

    #body h3,
    #body .large-3 h3,
    #body .medium-4 h3,
    #body h4 {
        font-size: 35px;
        line-height: 36px;
        height: auto;
    }


}

@media only screen and (min-width: 640px) {

    #body .news-cover .info p{
        display: none;
    }

    #footer .row{
        padding:20px 0px;
    }
    .top-bar-section > ul > .divider {
        height: 70px;
    }

    #body .large-3 h3{
        font-size: 25px;
        line-height: 26px;
        height: 80px;
    }
    #body .medium-4 h3,
    #body h4 {
        font-size: 25px;
        line-height: 26px;
        height: 80px;
    }

    #body.news .row .column.medium-4 a:not(.button),
    #body .column.medium-4 .news-cover{
        height: 200px;
    }


    #body .large-3.medium-4:last-child{
        display: none;
    }



}

@media only screen and (min-width: 900px) {



    #header h1 {
        left: 50px;
        font-size: 58px;
        line-height: 60px;
    }

    #header h1 small {
        font-size: 14px;
        line-height: 17px;
    }

    #header h2, #header h3 {
        left: 100px;
    }

}

@media only screen and (min-width: 1024px) {
    #body .column.medium-6 .news-cover .info p{
        display: inherit;
    }


}

@media only screen
and (min-device-width: 768px)
and (max-device-width: 1024px)
and (orientation: landscape)
and (-webkit-min-device-pixel-ratio: 2) {
    #header .header-background {
        background: url("../img/head_bg_1024.jpg") fixed;
    }
    #header h2 {
        color: #000;
    }
}

@media only screen
and (min-device-width: 768px)
and (max-device-width: 1024px)
and (orientation: portrait)
and (-webkit-min-device-pixel-ratio: 2) {
    #header .header-background {
        background: url("../img/head_bg_768.jpg") fixed;
    }
    #header h2 {
        color: #000;
    }
}

@media only screen and (min-width: 1025px) {
    #body .large-3.medium-4:last-child{
        display: inherit;
    }

    #body .news-cover .info p{
        display: inherit;
    }
}

@media only screen and (min-width: 1200px) {

    #body.news .row .column.medium-4 a:not(.button),
    #body .column.medium-4 .news-cover{
        height: 300px;
    }

    #header h1 {
        left: 100px;
        font-size: 52px;
        line-height: 52px;
        padding-left: 30%;
        padding-right: 40px;
    }

    #header h1 small {
        font-size: 14px;
        line-height: 17px;
    }

    #header h2, #header h3 {
        left: 190px;
    }

    #body .row {
        /*  padding: 20px 100px;*/
    }
}

@media only screen and (min-width: 1400px) {
    #header h1 {
        left: 100px;
        font-size: 60px;
        padding-left: 40%;
    }

    #header h1 small {
        font-size: 16px;
    }

    #header h2 {
        left: 230px;
        font-size: 40px;
    }

    #header h3 {
        left: 230px;
    }
}