/*Default Wordpress styles*/

/* Images */
.entry-content img,
.comment-content img,
.widget img {
    max-width: 100%; /* Fluid images for posts, comments, and widgets */
    max-height: 100%;
}
body .entry-content img{max-height: none;}
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
    height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}

pre, code {
    clear: both;
    overflow: auto;
    margin: 1.5em 0em;
    white-space: pre;
    color: inherit;
    line-height: 24px;
}

img.size-full,
img.size-large {
    max-width: 100%;
    width: auto; /* Prevent sPtretching of full-size and large-size images with height and width attributes in IE8 */
    height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
.entry-content img.wp-smiley {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    border: none;
}
img.alignleft,
img.alignright,
img.aligncenter {
    margin-bottom: 1em;
}
p img,
.wp-caption {
    margin: 0;
}
.wp-caption {
    margin-bottom: 1em;
    padding: 5px;
    max-width: 100%;
    border-top: 1px solid rgb(0, 0, 0);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background: white;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.wp-caption img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

.wp-caption .wp-caption-text,
.gallery-caption {
    color: inherit;
    font-size: 12px;
}
.wp-caption .wp-caption-text {
    position: relative;
    margin-bottom: 0;
    padding: 10px 0 5px 40px;
}
.wp-caption .wp-caption-text:before {
    position: absolute;
    top: 10px;
    left: 5px;
    margin-right: 5px;
    content: '\2014';
    font-weight: bold;
    font-style: normal;
    font-size: 14px;
}
.gallery {
    margin: 0;
}
.gallery a img {
    border: none;
}
img#wpstats {
    display: block;
    margin: 0 auto 1.625em;
}
#content .gallery-columns-4 .gallery-item {
    padding-right: 2%;
    width: 23%;
}
#content .gallery-columns-4 .gallery-item img {
    width: 100%;
    height: auto;
}

.error404 article{
    margin: 60px 0;
    text-align: center;
}
.error404 .content-title.search{
    font-size: 70px;
    color: #e84c3d;
    margin-bottom: 15px;
}
span.error-404 {
    display: block;
    text-transform: uppercase;
    font-size: 25px;
    letter-spacing: 1px;
    text-align: center;
}
.search-back-button {
    background: none repeat scroll 0 0 #e84c3d;
    display: inline-block;
    height: 35px;
    line-height: 35px;
    padding: 0 15px;
    color: #FFFFFF;
    margin-top: 30px;
}

.cosmo-box p.error,  p.error{ color: red; }
.cosmo-box span.success, span.success { color: green; }
/*================ Search ================*/
#searchform{
    margin: 0;
    position: relative;
}

#searchform .search-container.hidden{
    display: block;
}

#searchform .button {
    position: absolute;
    right: 0;
    top: 0;
    height: 25px;
    font-size: 11px;
}
#searchform input[type="text"]{
    height: 25px;
    line-height: 25px;
    border: 1px solid #c7c7c4;
    font-size: 11px;
    margin: 0;
}
#searchform input[type="submit"].button {
    max-width: 70px;

}
#searchform .search-container{
    position: absolute;
    top: 50%;
    margin-top: -15px;
    right: 0;
    z-index: 9500;
    width: 40px;
    line-height: 28px;
    height: 30px;
    background-color: #EB4C4C;
    text-align: right;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}
.archive #searchform .search-container{
    margin-top: -55px;
}

.category #searchform .search-container{
    margin-top: -55px;
}

#searchform .search-container i{
    font-size: 18px;
    z-index: 2;
    position: relative;
    color: #FFF;
    margin-right: 8px;
    cursor: pointer;
}

#searchform .search-container .input-wrapper{
    position: absolute;
    top: 0;
    right: 0;
    margin-right: 40px;
    padding: 5px 5px;
    width: 200px;
    height: 39px;
    z-index: 1;
}

#searchform .search-container .input-wrapper input{
    margin: -1px 0 0;
    display: block;
    padding: 0 5px;
    width: 190px;
    height: 20px;
    background-color: #FFF;
    box-shadow: 0 0;
    border-radius: 0;
    border: 0 none;
    font-size: 11px;
    line-height: 20px;
    color: #888;
}


/* Image borders */
img[class*="align"],
img[class*="wp-image-"],
#content .gallery .gallery-icon img {
    padding: 0;/* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */
    border: none;
}
.wp-caption img {
    border-color: transparent;
}
a:focus img[class*="align"],
a:hover img[class*="align"],
a:active img[class*="align"],
a:focus img[class*="wp-image-"],
a:hover img[class*="wp-image-"],
a:active img[class*="wp-image-"],
.gallery .gallery-icon a:focus img,
.gallery .gallery-icon a:hover img,
.gallery .gallery-icon a:active img {
    border-color: #bbb;/* Add some useful style to those fancy borders for linked images ... */
    background: transparent;
}
.wp-caption a:focus img,
.wp-caption a:active img,
.wp-caption a:hover img {
    border-color: transparent;/* ... including captioned images! */
    background: transparent;
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
    max-width: 100%;
}

/*----------------------------*/
/*------------Preloader for Site content------------*/
#flo-loading {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 9999;
    text-align: center;
}

#circularG, #circularG-ajax{
    width:30px;
    height:30px;
    position: fixed;
    left: 49.1%;
    top:50%;
    z-index: 9;
}

#circularG-ajax{
    display: none;
}

.circularG{
    position:absolute;
    background-color:#3B4887;
    width:7px;
    height:7px;
    -moz-border-radius:5px;
    -moz-animation-name:bounce_circularG;
    -moz-animation-duration:1.04s;
    -moz-animation-iteration-count:infinite;
    -moz-animation-direction:linear;
    -webkit-border-radius:5px;
    -webkit-animation-name:bounce_circularG;
    -webkit-animation-duration:1.04s;
    -webkit-animation-iteration-count:infinite;
    -webkit-animation-direction:linear;
    -ms-border-radius:5px;
    -ms-animation-name:bounce_circularG;
    -ms-animation-duration:1.04s;
    -ms-animation-iteration-count:infinite;
    -ms-animation-direction:linear;
    -o-border-radius:5px;
    -o-animation-name:bounce_circularG;
    -o-animation-duration:1.04s;
    -o-animation-iteration-count:infinite;
    -o-animation-direction:linear;
    border-radius:5px;
    animation-name:bounce_circularG;
    animation-duration:1.04s;
    animation-iteration-count:infinite;
    animation-direction:linear;
}

.circularG_1{
    left:0;
    top:12px;
    -moz-animation-delay:0.39s;
    -webkit-animation-delay:0.39s;
    -ms-animation-delay:0.39s;
    -o-animation-delay:0.39s;
    animation-delay:0.39s;
}

.circularG_2{
    left:3px;
    top:3px;
    -moz-animation-delay:0.52s;
    -webkit-animation-delay:0.52s;
    -ms-animation-delay:0.52s;
    -o-animation-delay:0.52s;
    animation-delay:0.52s;
}

.circularG_3{
    top:0;
    left:12px;
    -moz-animation-delay:0.65s;
    -webkit-animation-delay:0.65s;
    -ms-animation-delay:0.65s;
    -o-animation-delay:0.65s;
    animation-delay:0.65s;
}

.circularG_4{
    right:3px;
    top:3px;
    -moz-animation-delay:0.78s;
    -webkit-animation-delay:0.78s;
    -ms-animation-delay:0.78s;
    -o-animation-delay:0.78s;
    animation-delay:0.78s;
}

.circularG_5{
    right:0;
    top:12px;
    -moz-animation-delay:0.91s;
    -webkit-animation-delay:0.91s;
    -ms-animation-delay:0.91s;
    -o-animation-delay:0.91s;
    animation-delay:0.91s;
}

.circularG_6{
    right:3px;
    bottom:3px;
    -moz-animation-delay:1.04s;
    -webkit-animation-delay:1.04s;
    -ms-animation-delay:1.04s;
    -o-animation-delay:1.04s;
    animation-delay:1.04s;
}

.circularG_7{
    left:12px;
    bottom:0;
    -moz-animation-delay:1.17s;
    -webkit-animation-delay:1.17s;
    -ms-animation-delay:1.17s;
    -o-animation-delay:1.17s;
    animation-delay:1.17s;
}

.circularG_8{
    left:3px;
    bottom:3px;
    -moz-animation-delay:1.3s;
    -webkit-animation-delay:1.3s;
    -ms-animation-delay:1.3s;
    -o-animation-delay:1.3s;
    animation-delay:1.3s;
}

@-moz-keyframes bounce_circularG{
    0%{
    -moz-transform:scale(1)}

    100%{
    -moz-transform:scale(.3)}

}

@-webkit-keyframes bounce_circularG{
    0%{
    -webkit-transform:scale(1)}

    100%{
    -webkit-transform:scale(.3)}

}

@-ms-keyframes bounce_circularG{
    0%{
    -ms-transform:scale(1)}

    100%{
    -ms-transform:scale(.3)}

}

@-o-keyframes bounce_circularG{
    0%{
    -o-transform:scale(1)}

    100%{
    -o-transform:scale(.3)}

}

@keyframes bounce_circularG{
    0%{
    transform:scale(1)}

    100%{
    transform:scale(.3)}

}
/*------------ EOF Preloader for Site content------------*/

/*==================== Start: Recommended Isotope styles =======================*/

/**** Isotope Filtering ****/

.isotope-item {
  z-index: 2;
}

.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}

/**** Isotope CSS3 transitions ****/

.isotope,
.isotope .isotope-item {
  -webkit-transition-duration: 0.8s;
     -moz-transition-duration: 0.8s;
      -ms-transition-duration: 0.8s;
       -o-transition-duration: 0.8s;
          transition-duration: 0.8s;
}

.isotope {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
      -ms-transition-property: height, width;
       -o-transition-property: height, width;
          transition-property: height, width;
}

.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
     -moz-transition-property:    -moz-transform, opacity;
      -ms-transition-property:     -ms-transform, opacity;
       -o-transition-property:      -o-transform, opacity;
          transition-property:         transform, opacity;
}

/**** disabling Isotope CSS3 transitions ****/

.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
  -webkit-transition-duration: 0s;
     -moz-transition-duration: 0s;
      -ms-transition-duration: 0s;
       -o-transition-duration: 0s;
          transition-duration: 0s;
}

/* ===================End: Recommended Isotope styles =========================*/

/* Splitter */
@media only screen  and (max-width: 768px){
    body .thumbs-splitter{
        text-align: center;  margin-left: auto;
    }
}

.splitter, .thumbs-splitter {
    margin-bottom: 0;
    list-style-type: none;
    /*text-align: left;*/
}
.splitter li, .thumbs-splitter li {
    display: inline-block;
    margin-right: 5px;
    margin-bottom: 30px;
    padding-left: 5px;
    line-height: 24px;
    text-transform: uppercase;
}
.splitter li:first-child, .thumbs-splitter li:first-child {
    padding-left: 0px;
    border-left: none;
}
.splitter li a, .thumbs-splitter li a {
    padding: 0 8px;
    font-size: 12px;
    line-height: 25px;
    height: 24px;
}

.splitter li.selected a, .thumbs-splitter li.selected a, .thumbs-splitter li a.selected{
    background: #000;
    color: #FFF;
}

/* EOF Splitter */

/* Password Protected Posts */
.post-password-required .entry-header .comments-link {
    margin: 1.625em 0 0;
}
.post-password-required input[type=password] {
    margin: 0.8125em 0;
}
.post-password-required input[type=password]:focus {
    background: #f7f7f7;
}

/* Floated content doesn't work well at this size */
.alignleft,
.alignright {
    display: block;
    float: none;
    margin-right: 0;
    margin-left: 0;
}

/* Alignment */
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.625em;
}
.alignright {
    display: inline;
    float: right;
    margin-left: 1.625em;
}
.aligncenter {
    display: block;
    clear: both;
    margin-right: auto;
    margin-left: auto;
}
dl.gallery-item {
    margin: 0;
}
.align-left{
    text-align: left;
}
.align-right{
    text-align: right;
}
.align-center{
    text-align: center;
}

.sticky{}
.bypostauthor {}
/*---------- General ----------*/
.clear{
    clear:both;
}

.clearfix:before, .clearfix:after { content:""; display:table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }

a img{
    border:0;
}

body{
    position: relative;
}
body{
    font-family: "Helvetica",Helvetica,"Helvetica Neue",Arial,sans-serif;
    /*background: #f3f3f3;*/
}
body.black-skin{
    background: #232323;
}
fieldset{
    border: 0;
    padding: 0;
}

span.meta-likes{
    cursor: pointer;
}

span.meta-likes em{
    font-size: 24px;
    display: inline-block;
    font-style: normal;
    color: #eb4c4c;
    margin-left: -2px;
    margin-top: 2px;
}

span.meta-likes:hover em{
    color: red;
}

a.voted.meta-likes em{
    color: #DB2B1E;
}

span.meta-likes i{
    display: inline-block;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 24px;
    font-style: normal;
    vertical-align: middle;
    margin-left: -3px;
    margin-top: -9px;
}

.like-label {
    display: inline-block;
    margin-right: 5px;
}
.content-title {
    margin-top: 0;
    margin-bottom: 30px;
    padding: 0;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    letter-spacing: -1px;
}
#header .content-title{
    margin: 20px 0;
}
@media only screen and  (max-width : 767px) {
    #header .cosmo-social li a{
        line-height: 30px !important; 
    }
}
/* Form elements */
input[type="text"], input[type="password"], input[type="date"], input[type="datetime"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], input[type="text"]:focus, input[type="password"]:focus, input[type="date"]:focus, input[type="datetime"]:focus, input[type="email"]:focus, input[type="number"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="time"]:focus, input[type="url"]:focus{
    border-radius: none;
    height: 35px;
    border: 1px solid #ddd;
    padding-left: 10px;
    padding-right: 10px;
}

input[type="submit"], button, input[type="button"]{
    border-radius: 0;
    cursor: pointer;
    height: 35px;
    color: #555555;
    border: 1px solid #d5d5d5;
    padding: 0 10px;
    text-transform: uppercase;
    background: #f6f6f6;
    background: -moz-linear-gradient( #f6f6f6 0%, #e6e6e6 100%);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#f6f6f6), color-stop(100%,#e6e6e6));
    background: -webkit-linear-gradient(#f6f6f6 0%,#e6e6e6 100%);
    background: -o-linear-gradient(#f6f6f6 0%,#e6e6e6 100%);
    background: -ms-linear-gradient(#f6f6f6 0%,#e6e6e6 100%);
    background: linear-gradient( #f6f6f6 0%,#e6e6e6 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f6f6f6', endColorstr='#e6e6e6',GradientType=1 );
    -moz-box-shadow: inset 0 1px 1px #FFF;
    -webkit-box-shadow: inset 0 1px 1px #FFF;
    box-shadow: inset 0 1px 1px #FFF;
    margin: 0 0 20px 15px;
}
.wpcf7-form input[type="submit"]{ margin: 0 0 20px 0px; }

.form-submit.submit input[type="submit"], button, input[type="button"]{
    margin-left: 0px;
}

input[type="submit"]:hover, button:hover, input[type="button"]:hover{
    background: #f9f9f9;
    background: -moz-linear-gradient( #f9f9f9 0%, #f6f6f6 100%);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#f9f9f9), color-stop(100%,#f6f6f6));
    background: -webkit-linear-gradient(#f9f9f9 0%,#f6f6f6 100%);
    background: -o-linear-gradient(#f9f9f9 0%,#f6f6f6 100%);
    background: -ms-linear-gradient(#f9f9f9 0%,#f6f6f6 100%);
    background: linear-gradient( #f9f9f9 0%,#f6f6f6 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9f9f9', endColorstr='#f6f6f6',GradientType=1 );
}

.hidden{
    display:none;
}

/* Social icons */

.header_style1 .socialicons {
    float: right;
    margin: 0px 90px 0 30px; 
}

.header_style1  nav.no-social-icon{
    margin-right: 90px;
}

.header_style2 .socialicons{
    float: right;
    margin: 0px 90px 0 30px; 
}
.header_style3 .socialicons{
    margin-right: 90px;
} 

.header_style3 nav.main-menu > ul{ display: inline; } 

.header_style2 .icon-bottom:before, .header_style3 .icon-bottom:before{
    margin-right: 0.2em;
}

.header_style1  .socialicons .cosmo-social, .header_style3  .socialicons .cosmo-social{
    z-index: 99;
}

.socialicons.for-translation .cosmo-social{
    padding-top: 0px;
}

.socialicons.for-translation:not(.no-social-icon){
    margin-right: 0px;
}


@media only screen  and (max-width : 767px) {
    .header_style2 .socialicons, .header_style3 .socialicons{
        position: relative;
    }
    .header_style1 .socialicons{
        padding-top: 30px;
    }

    .header_style1 nav ul.sf-menu,.header_style1 .cosmo-social, .header_style3 .cosmo-social, .header_style2 .cosmo-social{ line-height: 1 !important; }
    .header_style1 .cosmo-social, .header_style3 .cosmo-social, .header_style2 .cosmo-social{ margin-top: 20px; }

    .header_style2 .socialicons.for-translation {
        /*display: block;*/
        min-height: 50px;
        top: 50%;
        margin-top: -25px;
        right: 20px;    
    }
    .header_style2 .socialicons.for-translation li a{line-height: 1 !important;}
    

}

@media only screen and (min-width : 769px){
    .header_style3 div.logo{
        display: none;
    }

    .header_style2 .socialicons{
        position: absolute;
        right: 0px;

        top: 20px;

    }

    .header_style3 .socialicons{
        position: absolute;
        right: 0px;
    }

    .header_style3  .socialicons{
        height: 100%;
        margin-top: -20px;
    }

    .header_style3  .socialicons .cosmo-social{
        height: 100%;
        display: table;
    }
    .header_style3 .socialicons > ul.cosmo-social > li{
        display: table-cell;
        vertical-align: middle;
    }
}
@media only screen and (min-width : 320px) and (max-width : 768px) {
    .header_style2 .socialicons, .header_style3 .socialicons{
        float: none;
        clear: both;
        text-align: center;
        margin: 0;
    }
    .logo{
        clear: both;
        margin-bottom: 30px;
        text-align: center;
    }
    .header_style1 .socialicons {
        float: none;
        clear: both;
        text-align: center;
        margin: 0;
    }
    .header_style2 .socialicons.only-search, .header_style3 .socialicons.only-search, .header_style1 .socialicons.only-search {

        text-align: right;

    }
}
.socialicons>ul.cosmo-social{
    margin: 0;
    padding: 0;
    list-style-type: none;
    position: relative;
}

.socialicons > ul.cosmo-social > li {
    display: inline-block;
}

.socialicons > ul.cosmo-social > li i {
    position: absolute;
    width: 30px;
    height: 30px;
    margin-left: -15px;
}
.socialicons > ul.cosmo-social > li i img{
    max-height: 30px;
    max-width: 30px;
}
.socialicons > ul.cosmo-social > li > a {
    color: #999999;
    display: block;
    height: 30px;
    line-height: 30px;
    margin-bottom: 5px;
    text-align: center;
    transition: all 200ms linear 0s;
    width: 30px;
    /*border-radius: 50%;*/
    padding: 0;
}

.widget .socialicons > ul.cosmo-social > li > a:hover {
    color: #FFFFFF;
}

.widget .socialicons>ul.cosmo-social>li>a.rss:hover{
    color: #f69400;
}

.widget .socialicons>ul.cosmo-social>li a.twitter:hover{
    color: #48c4d2;
}

.widget .socialicons>ul.cosmo-social>li>a.gplus:hover{
    color: #d94a39;
}

.widget .socialicons>ul.cosmo-social>li>a.dribbble:hover{
    color: #ef5b92;
}

.widget .socialicons>ul.cosmo-social>li>a.yahoo:hover{
    color: #7b0099;
}

.widget .socialicons>ul.cosmo-social>li>a.linkedin:hover{
    color: #71C5EF;
}

.widget .socialicons>ul.cosmo-social>li>a.skype:hover{
    color: #18b7f1;
}

.widget .socialicons>ul.cosmo-social>li>a.fb:hover{
    color: #3b5998;
}

.widget .socialicons>ul.cosmo-social>li>a.yt:hover{
    color: #C4302B;
}

.widget .socialicons>ul.cosmo-social>li>a.vimeo:hover{
    color: #44bbff;
}

.widget .socialicons>ul.cosmo-social>li>a.delicious:hover{
    color: #3274d1;
}

.widget .socialicons>ul.cosmo-social>li>a.tumblr:hover{
    color: #3a5976;
}

.widget .socialicons>ul.cosmo-social>li>a.pinterest:hover{
    color: #cb2027;
}

.widget .socialicons>ul.cosmo-social>li>a.flickr:hover{
    color: #FF0084;
}

.widget .socialicons>ul.cosmo-social>li>a.email:hover{
    color: #0bac03;
}

.widget .socialicons>ul.cosmo-social>li>a.instagram:hover{
    color: #634d40;
}

.widget .socialicons>ul.cosmo-social>li>a>i{
}

.socialicons>ul.cosmo-social>li>a>i:before{
    line-height: inherit;
}

/* End of social icons*/

/*---------- End - General ----------*/
/**#@-*/

form.wpcf7-form{ padding: 15px; }
.cosmo-contact-form{
    margin: 0 -15px;
}
.cosmo-contact-form > .row > .six > p {
    clear: none;
    display: inline-block;
    float: left;
    margin-bottom: 0;
    margin-right: -4px;
    padding: 0 15px;
    width: 50%;
}
.cosmo-contact-form > .row > .six > p input{
    border: 1px solid #;
}
.cosmo-contact-form > .row > .six > textarea {
    width: 100%;
}
.cosmo-contact-form  > .row > .six > p.comment-form-comment{
    width: 100%;
    display: block;
}
.comment-form textarea, .comment-form input{
    border: 0px;
    box-shadow: none;
}
.cosmo-contact-form p.form-submit{
    margin-top: 28px;
}
#cosmo_contact_response {
    clear: both;
    margin: 0 15px;
}
#cosmo_contact_response p{
    margin: 0;
}
.cosmo-contact-form #cosmo-send-msg{
    background: transparent;
    border: 0 none;
    height: auto;
    display: inline;
    box-shadow: none;
    padding: 0;
    font-size: 16px;
}
.cosmo-contact-form > .row > .twelve{
    text-align: center;
}

/* Content layout settings */

section#main .main-container.left-layout > .row{
    margin: 0;
}


/*---------- Header ---------- */

header#header{
    position: relative;
    width: 100%;
    margin-bottom: 30px;
}

header#header .header-containe-wrapper{
    padding: 20px 0;
}
header#header .header-containe-wrapper:after{
    content: '';
    display: table;
    width: 100%;
    clear: both;
}
 body.page-template-template-video-php header#header,  body.single.single-video header#header, body.single.single-gallery header#header, body.single header#header, .page-template-template-gallery-php header#header{
    margin-bottom: 0;
}
#header.header_style1 .header-containe-wrapper .logo{
    display: inline-block;
    float: left;
}
#header.header_style2 .header-containe-wrapper .logo{
    float: none;
    display: block;
    text-align: center;
}

#header.header_style2 nav.main-menu{
    float: none;
    clear: both;
    text-align: center;
    display: none;
    margin-top: 0;
}
#header.header_style3 nav.main-menu {
    float: none;
    clear: both;
    text-align: center;
    margin-top: 0;
    display: block;
}

#header.header_style1 nav.main-menu{
    float: right;
}
#header.header_style1 nav.main-menu ul.sf-menu{
    display: inline-flex;
}

@media only screen and (min-width : 320px){
    #header.header_style1 .header-containe-wrapper .logo{
        margin-left: 100px;
    }
}
nav.main-menu{
    display: inline-block;
    position: relative;
}


@media only screen  and (max-width: 768px){
    #header.header_style1 .header-containe-wrapper .logo{

        display: block;
        margin: 0 auto 0 0;
        position: relative;
        width: 100%;
    }
}

@media only screen and (min-width : 480px)  and (max-width: 768px){
    #header.header_style1 .header-containe-wrapper .logo{

        text-align: center;
        margin: 0 auto 0 0;
        width: 100%;
    }
}

    /* ---------- Menu Navigation ---------- */
    #modal-menu ul#menu-main-menu li{
        line-height: 1.2;
    }

    #modal-menu ul#menu-main-menu li a{
        line-height: 1.2;
        display: block;
        padding: 15px 0;
    }
    #modal-menu { display: none;}

    #modal-menu ul li{
        list-style-type: none;
        line-height: 55px;
        border-top: 1px dotted rgba(255,255,255,0.35);
    }
    #modal-menu ul li:first-child{
        border-top: 0 none;
    }

    #modal-menu ul li a{
        color: white;
        font-size: 16px;
        margin: 0;
        line-height: 55px;
    }
    #modal-menu ul li ul{
        margin: 0;
    }
    #modal-menu ul li ul li{
        border-top: 1px dotted rgba(255,255,255,0.35) !important;
    }

    #small-device-nav{
        line-height: 50px;
        display: none;
        position: absolute;
        z-index: 999;
    }
    #small-device-nav ul{
        text-align: left;
    }
    #small-device-nav ul, #small-device-nav ul li{
        margin: 0;
        padding: 0;
    }
    #small-device-nav .small-device-logo{
        display: inline-block;
        list-style-type: none;
        font-size: 16px;
        height: 100%;
        overflow: hidden;
        float: right;
        line-height: 50px;           
    }

    #small-device-nav .small-device-logo a img{
        max-height: 50px;
    }

    #small-device-nav .small-device-menu{
        display: inline-block;
        list-style-type: none;
        font-size: 18px;
        line-height: 50px;
    }

    #small-device-nav .small-device-menu a{
        color: #444444;
        display: block;
    }
    
    #small_nav {
        width: auto;
        margin-top: 30px;
    }

    /* ---------- Menu Navigation ---------- */
    nav.main-menu .sf-sub-indicator {
        position: absolute;
        display: block;
        right: .15em;
        top: 0;
        width: 10px;
        height: 10px;
        font-weight: 200;
        font-size: 11px;
        font-family: Helvetica, Arial, sans-serif;
    }
    
    nav.main-menu .logo img{
        line-height: 0;
        vertical-align: middle;
    }

    nav.main-menu{
        font-family: Helvetica;
        font-size: 14px;
    }

    nav.main-menu>ul{
        margin: 0;
        padding: 0;
        list-style-type: none;
        width: 100%;
        font-family: 'Montserrat', sans-serif;
        font-weight: normal;
        color: #343434;
        font-weight: 400;
        position: relative;
        /*column-count: 3;
        column-gap: 5px;*/
    }

    @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
        /*hack for IE*/
        nav.main-menu>ul{display: inline-flex; }
        .header_style1 .socialicons{margin-top:-4px; }
        .header_style2 nav.main-menu>ul{display: block;}
    }

    nav.main-menu ul li {
        position: relative;
    }
    /* Sub level menus*/
    nav.main-menu ul li ul{
        z-index: 100;
        visibility: hidden;
    }
    /* Sub level menu links style */
    nav.main-menu ul li ul li a{
        margin: 0;
    }

    /* Sub level menu links style */
    nav.main-menu ul li ul li {
        margin: 0;
        width: auto;
    }
    nav.main-menu>ul:after{
        display: block;
        clear: both;
        content: '';
    }
    nav.main-menu>ul>li>a{
        display: block;
        padding: 4px 10px 4px 10px;
        -webkit-transition: .2s color linear;
        -moz-transition: .2s color linear;
        -o-transition: .2s color linear;
        -ms-transition: .2s color linear;
        transition: .2s color linear;
    }

    nav.main-menu>ul>li>a.sf-with-ul{
        padding-right: 20px;
    }

    nav.main-menu>ul>li>a.sf-with-ul > span{
        top:4px;
        right: 4px;
    }

    nav.main-menu>ul>li{
        margin: 0;
        padding: 0;
        float: none;
        display: inline-block;
        line-height: 25px;
        vertical-align: middle;
        margin-right: 15px;
    }
    nav.main-menu>ul>li:last-child:after{
        display: block;
        clear: both;
        content: '';
    }


    nav.main-menu>ul>li.selected{
        color: black;
        padding-left: 10px;

    }

    nav.main-menu>ul>li.selected a{
        line-height: 25px;
    }
    nav.menu-with-description>ul>li { text-align: left; }
    nav.menu-with-description>ul>li>.children { padding-top: 14px; }

        /* Menu description style */

         nav.main-menu>ul>li .menu-description{
            display: block;
            font-size: 11px;
            -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
            filter: alpha(opacity=80);
            opacity: 0.6;
            font-weight: normal;
            line-height: 10px;
            padding-bottom: 4px;
        }

        /* End of menu description style */
    /* Menu styles */

    /*** ESSENTIAL STYLES ***/
    .main-menu ul{
        margin: 0;
        padding: 0;
        width: 100%;
        list-style: none;
    }

    .main-menu ul.children{
        width: auto!important;
    }

    .main-menu li{
        display: inline-block;
        padding: 0;
    }


    .main-menu a{
        text-decoration: none;
        }

    .main-menu a:link, .main-menu a:visited, .main-menu a:active{
        color: inherit;
    }

    .main-menu a span{
        cursor: pointer;
    }


    /* Sub level menus*/
    .main-menu ul li ul{
        position: absolute;
        z-index: 100;
        top: 100%;
        visibility: hidden;
    }
    nav.main-menu > ul > li > ul.children li{
        font-size: 12px;
    }
    nav.main-menu > ul > li > ul.children > li a{
        display: inline-block;
        line-height: 35px;
        height: 35px;
        white-space: nowrap;
        padding: 0 15px;
    }
    /* Sub level menus*/
    .main-menu ul li ul li ul{
        position: absolute;
        z-index: 100;
        left: 100%;
        top: 0;
        visibility: hidden;
        position: absolute;
    }


    /* Sub level menu links style */
    .main-menu ul li ul li a{
        margin: 0;
    }
    nav.main-menu > ul > li a > i{
        font-size: 11px;
        color: #999;
        font-style: normal;
        padding-left: 5px;
        line-height: 1;
    }
    .dl-menuwrapper{
        display: none;
        position: absolute;
        line-height: 50%;
        /*z-index: 999;*/
        width: 100%;
    }
    .dl-menuwrapper nav { margin: 0; }
    .dl-menuwrapper .cosmo-menu ul > li {
        max-width: 300px;
        width: 100%;
        margin: 0;
    }

    #pageslide {
        /* These styles MUST be included. Do not change. */
        display: none;
        position: absolute;
        position: fixed;
        top: 0;
        height: 100%;
        z-index: 999999;
        overflow-y:scroll; 
        /* Specify the width of your pageslide here */
        width: 70%;
        padding: 20px;
        
        /* These styles are optional, and describe how the pageslide will look */
        background-color: #333;
        color: #FFF;
        -webkit-box-shadow: inset 0 0 5px 5px #222;
        -moz-shadow: inset 0 0 5px 5px #222;
        box-shadow: inset 0 0 5px 5px #222;
    }

    #modal-menu ul.mobile-menu  li ul.children li {padding-left: 15px;}
    
    ul.mobile-menu li{width: 100%;}


    /* ---------- End - Menu Navigation ---------- */


/* ---------- End - Header ---------- */



/* ---------- Main Section ---------- */



.single section#main, .page section#main {
    height: auto;
}


section#main{

}

section#main .main-container{
    position: relative;
    height: 100%;
}
.page-template-template-video-php section#main .main-container{
    overflow: hidden;
}

.main-container > .right-sidebar, .main-container > .left-sidebar{
    padding: 0 15px;
}


#scrollbar {
    margin: 0;
    cursor: move;
    position: relative;
    height: 100%;
}
#scrollbar .viewport {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
}
.single-format-gallery #scrollbar {
    margin: 0 auto;
}
.single-format-gallery #scrollbar .viewport {
    min-height: 400px;
}
#scrollbar .overview {
    left: 0;
    list-style: none outside none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    height: 100%;
    width: 1416px;
}

#scrollbar .overview .relative:first-child {
    border: 0;
}

#scrollbar .overview .relative {
    float: left;
    border-left: 10px solid white;
}
#scrollbar .scrollbar {
    clear: both;
    height: 10px;
    position: relative;
}
#scrollbar .track {
    background-color: #efefef;
    height: 10px;
    position: relative;
    width: 100%;
    border-radius: 5px;
}
#scrollbar .thumb {
    background-color: #eb4c4c;
    cursor: pointer;
    height: 10px;
    left: 0;
    overflow: hidden;
    position: absolute;
    border-radius: 5px;
    border: 1px solid #eb4c4c;
    box-shadow: inset 0 0 1px rgba(255,255,255,0.5);
}
#scrollbar .thumb .end {
    display: none;
    height: 25px;
    overflow: hidden;
    width: 5px;
}
#scrollbar .disable {
    display: none;
}
#scrollbar .relative:hover > .zoom-image{
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity:1;
}

.zoom-image {
    position: absolute;
    top:50%;
    right:50%;
    z-index: 999;
    margin-top:-35px;
    margin-right:-35px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgb(0,0,0) url(../../images/zoom.image.png) no-repeat center center;
    background: rgba(0,0,0,0.15) url(../../images/zoom.image.png) no-repeat center center;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
    cursor: pointer;
}
.zoom-image a {
    display: block;
    text-indent: -9999px;
    line-height: 80px !important;
}
.entry-header .featimg:hover > .zoom-image, .flexslider .slides li:hover > .zoom-image{
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity:1;
}

.single-gallery #carousel{
    margin-top: 40px !important;
}
.flexslider #carousel .slides li:hover{
    cursor: pointer;
}

.relative { position: relative; }

/* Posts  */
.featimg{
    overflow: hidden;
    line-height: 0;
}

article.thumb-image-main, article.thumb-text-main{
    overflow: hidden;
}

.featimg img{
    width: auto;
    max-width: 100%;
}
.single .featimg img{
    width: auto;
    max-width: 100%;
}
.featimg a{
    line-height: 0;
}

/* Grid view */

.cosmo-grid-view article{
    margin-bottom: 30px;
    /*background: #FFF;
    color: #ababab;*/
    padding: 30px 30px 0 30px;
    -webkit-transition: .2s background-color linear;
    -moz-transition: .2s background-color linear;
    -o-transition: .2s background-color linear;
    -ms-transition: .2s background-color linear;
    transition: .2s background-color linear;
}
body.black-skin .cosmo-grid-view article{
    background: #272727;
}
.cosmo-grid-view article header .featimg{
    line-height: 0;
    margin-bottom: 20px;
    position: relative;
}
.cosmo-grid-view article header .featimg img{
    width: 100%;
}
.cosmo-grid-view article header .featimg .entry-feat-overlay{
    background: rgba(255,255,255,0.85);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: .3s opacity ease-in;
}
.cosmo-grid-view article header:hover .featimg .entry-feat-overlay{
    opacity: 1;
}
.cosmo-grid-view article header .featimg .entry-feat-overlay a{
    color: inherit;
}
.cosmo-grid-view article header .featimg .entry-feat-overlay .entry-date{
    top: 50%;
    left: 50%;
    margin-left: -35%;
    height: 90px;
    margin-top: -45px;
    width: 70%;
    position: absolute;
    font-size: 24px;
    line-height: 1;
    color: #454545;
    font-weight: 300;
}
.cosmo-grid-view article header .featimg .entry-feat-overlay .entry-date > a{
    border: 1px solid rgba(0,0,0,0.2);
    display: block;
    margin-bottom: 15px;
}
.cosmo-grid-view article header .featimg .entry-feat-overlay .entry-date em{
    display: block;
    font-style: normal;
    margin: 15px 0;
    position: relative;
}
.cosmo-grid-view article header .featimg .entry-feat-overlay .entry-date em:after{
    content: '';
    display: block;
    width: 50px;
    height: 1px;
    background: #454545;
    position: absolute;
    bottom: -8px;
    left: 50%;
    margin-left: -25px;
}
.cosmo-grid-view article header .featimg .entry-feat-overlay .entry-date i{
    display: block;
    font-style: normal;
    margin-bottom: 10px;
}
.cosmo-grid-view article header .featimg .entry-feat-overlay .entry-date .share-options{
    margin: 0;
    list-style-type: none;
}
.cosmo-grid-view article header .featimg .entry-feat-overlay .entry-date .share-options li{
    display: inline-block;
    color: #454545;
    font-size: 12px;
    margin-right: 5px;
}
.cosmo-grid-view article header .featimg .entry-feat-overlay .entry-date .share-options li a:hover{
    opacity: 0.7;
}
.cosmo-grid-view article section.entry-content h2.entry-title{
    font-size: 22px;
    font-weight: 300;
    color: inherit;
    font-family: 'Pathway Gothic One', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.8;
    margin: 0 0 20px 0;
    line-height: 1.4;
    text-align: left;
    -webkit-transition: .3s color linear;
    -moz-transition: .3s color linear;
    -o-transition: .3s color linear;
    -ms-transition: .3s color linear;
    transition: .3s color linear;
}

.cosmo-grid-view article section.entry-content h2.entry-title a{
    color: inherit;
}
.cosmo-grid-view article section.entry-content .entry-excerpt{
    font-size: 14px;
    color: inherit;
    line-height: 1.8;
    margin-bottom: 30px;
    font-family: inherit;
    -webkit-transition: .3s color linear;
    -moz-transition: .3s color linear;
    -o-transition: .3s color linear;
    -ms-transition: .3s color linear;
    transition: .3s color linear;
}
.cosmo-grid-view article footer.entry-footer{
    margin: 0 -30px 0 -30px;
    border-bottom: 5px solid rgba(0,0,0,0.1);
    border-top: 1px solid rgba(0,0,0,0.1);
    padding: 20px 30px;
    font-family: 'Open Sans', Helvetica, sans-serif;
}
body.black-skin .cosmo-grid-view article footer.entry-footer{
    border-bottom: 5px solid rgba(255,255,255,0.1);
    border-top: 1px solid rgba(255,255,255,0.1);
}
footer#footer-container{
    padding: 30px 0;
}
.cosmo-grid-view article footer.entry-footer .columns:first-child{
}
.cosmo-grid-view article footer.entry-footer .columns:last-child{
    text-align: right;
    font-size: 12px;
}
.cosmo-grid-view article footer.entry-footer a.read-more{
    color: inherit;
    font-weight: 300;
    letter-spacing: 1px;
    position: relative;
    font-size: 12px;
    display: inline-block;
}

.cosmo-grid-view article footer.entry-footer a.meta-likes {
    color: inherit;
}


/* Thumb view */
.cosmo-thumb-view{
    clear: both;
}
.cosmo-thumb-view article{
    margin-bottom: 30px;
    position: relative;
}
.cosmo-thumb-view.no-gutter.title-over article{
    margin-bottom: 0;
}
.cosmo-thumb-view.no-gutter{
    margin: 0 0 30px 0;
}
.cosmo-thumb-view.no-gutter > .columns{
    padding: 0;
}

.cosmo-thumb-view.title-below article:hover>header{
    opacity: 0.3;
}
.cosmo-thumb-view article h2{
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-weight: normal;
    color: #595959;
    margin: 0;
}

.cosmo-thumb-view.title-below.no-gutter article h2{
    margin-left: 15px; 
}
.cosmo-thumb-view article .featimg{
    margin-bottom: 0;
}
.cosmo-thumb-view.title-below article .featimg{
    margin-bottom: 15px;
}

.cosmo-thumb-view.title-over article section h2 a {
    color: inherit;
}
.cosmo-thumb-view.title-over article section{
    position: absolute;
    top: 0;
    left: -100%;
    text-align: center;
    width: 100%;
    height: 100%;
    background: #FFF;
}
.latest-galleries .cosmo-thumb-view.title-over article section{
    cursor: pointer;
}
.cosmo-thumb-view.title-over article h2 a i{
    display: inline-block;
    text-align: center;
    width: 35px;
    height: 35px;
    line-height: 33px;
    border: 2px solid #000;
    border-radius: 50%;
    margin-top: 15px;
    text-align: center;
    border-color: inherit;
    font-size: 16px;
}
.cosmo-thumb-view article h2 a i:before{
    width: auto;
    margin: 0;
}
.cosmo-thumb-view.title-over .type-video article section h2{
    margin-top: -25px;
    font-size: 20px;
}
.cosmo-thumb-view.title-below .type-video article header{
    margin-bottom: 10px;
}
.cosmo-thumb-view.title-below .type-video article section h2 a div{
    display: inline-block;
}


.type-video article section  .icon-play:before{
    content: '\25b6';
    margin-left: 5px;
    
}
.cosmo-thumb-view.title-over article{
    overflow: hidden;
}
.cosmo-thumb-view.title-over article section h2{
    position: absolute;
    top: 50%;
    margin-top: -8px;
    width: 100%;
    text-align: center;
}
.cosmo-thumb-view article .featimg img{
    width: 100%;
    height: auto;
}

.cosmo-thumb-view.margin-top30{
    margin-top: 30px !important;
}
/* List view */
.cosmo-list-view article{
    text-align: center;
    margin-bottom: 30px;
}
.cosmo-list-view article.list-small-thumb{
    text-align: left;
}
.cosmo-list-view article header .featimg{
    line-height: 0;
    margin-bottom: 35px;
    position: relative;
    z-index: 2;
    padding-left: 80px;
    overflow: inherit;
    margin-top: 0;
}
.cosmo-list-view article .author-photo{
    width: 60px;
    float: left;
    z-index: 3;
    position: relative;
}
.cosmo-list-view article .entry-holder{
    float: left;
    padding-left: 80px;
}

.cosmo-list-view article.no-avatar header .featimg, .cosmo-list-view article.no-avatar section.entry-content, .cosmo-list-view article.no-avatar footer.entry-footer{padding-left: 0px;}
@media only screen and (max-width : 700px){
    body .cosmo-list-view article header .featimg, body .cosmo-list-view article section.entry-content, body .cosmo-list-view article footer.entry-footer{padding-left: 0px;}

    .cosmo-list-view .author-photo{display: none;}
}
.cosmo-list-view article header .featimg{
    text-align: left;
}

.cosmo-list-view article header .featimg img{
    max-width: 100%;
}
.cosmo-list-view article header .featimg .entry-feat-overlay{
    background: rgba(255,255,255,0.85);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: .3s opacity ease-in;
}
.cosmo-list-view article header:hover .featimg .entry-feat-overlay{
    opacity: 1;
}
.cosmo-list-view article header h2.entry-title{
    font-size: 24px;
    font-weight: 300;
    color: #3b3a3a;
    /*font-family: 'Pathway Gothic One', sans-serif;*/
    text-transform: uppercase;
    letter-spacing: 0.8;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #c1c1c1;
    line-height: 1.4;
    text-align: left;
    
}

body.black-skin .cosmo-list-view article header h2.entry-title{
    color: #ababab;
    border-color: #272727;
}


.cosmo-list-view article section.entry-content .entry-excerpt{
    font-size: 14px;
    color: #3b3a3a;
    line-height: 1.8;
    margin-bottom: 50px;
    text-align: left;
    font-family: inherit;
}

body.black-skin .cosmo-list-view article section.entry-content .entry-excerpt{
    color: #909090;
}
.cosmo-list-view article section.entry-content, .cosmo-list-view article footer.entry-footer{
    padding-left: 80px;
}
.cosmo-list-view article footer.entry-footer{
    text-align: left;
}
.cosmo-list-view article footer.entry-footer .entry-meta{
    list-style-type: none;
    margin: 0;
    padding: 0;
    font-family: 'Open Sans';
}
.cosmo-list-view article footer.entry-footer .entry-meta > li:not(:last-child):after{
    content: '/ ';
}
.cosmo-list-view article footer.entry-footer .entry-meta li{
    display: inline-block;
    color: #a8a8a8;
    font-size: 12px;
}
.cosmo-list-view article footer.entry-footer .entry-meta li a{
    color: inherit;
}
.cosmo-list-view article footer.entry-footer a.read-more{
    border-top: 1px solid #dcdcdc;
    display: inline-block;
    margin-top: 10px;
    padding-top: 10px;
    font-size: 12px;
}
body.black-skin .cosmo-list-view article footer.entry-footer a.read-more{
    color: #909090;
}


/*============ Pagination ===========*/
.pag { clear: both; padding: 1px;}
.pag ul{
    margin: 0;
    padding: 0;
    list-style-type: none;
    text-align: center;
    margin: 15px 0;
}
.pag ul li{
    display: inline-block;
}
.pag ul li .page-numbers{
    display: block;
    background-color: #f5f5f5;
    padding: 7px 14px;
    margin: 0 5px;
    font-size: 16px;
    line-height: 16px;
    font-size: 12px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.5) inset;
    font-weight: bold;
    color: #666;
}
.pag ul li .page-numbers:not(.current):hover{
    background-color: #f9f9f9;
}
.pag ul li .page-numbers.current{
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.5) inset;
}

/*=========== EOF Pagination ==========*/



    /* Delimiters */

        /* Simple delimiter */

        .delimiter{
            display: block;
            clear: both;
            height: 1px;
            margin-bottom: 30px;
            width: 100%;
        }

        /* Pointed delimiter */
        .delimiter.pointed{
            border-top: 1px dotted rgba(0,0,0,0.11);
        }

        /* Doublepointed delimiter */
        .delimiter.doublepointed{
            border-top: 1px dotted rgba(0,0,0,0.35);
            border-bottom: 1px dotted rgba(0,0,0,0.35);
            height: 8px;
        }

        /* Line delimiter */
        .delimiter.line{
            border-top: 1px solid rgba(0,0,0,0.11);
        }

        /* Doubleline delimiter */
        .delimiter.doubleline{
            border-top: 1px solid rgba(0,0,0,0.35);
            border-bottom: 1px solid rgba(0,0,0,0.35);
            height: 8px;
        }

    /* End of delimiters */


/* ############### Single styles ################ */

body.single article.post{
    position: relative;
    overflow: hidden;
}
body.single.single-gallery #main:not(.sly) article.post{
    padding: 60px 15px;
}
.featimg{
    line-height: 0;
}
.featvideo{
    line-height: 0;
}
.post-content {
    margin-bottom: 30px;
}
.post-title{
    font-family: 'Montserrat', sans-serif;
    font-size: 41px;
    color: #191919;
    letter-spacing: 1.5px;
    margin: 0 0 30px 0;
}

.single-blog .post-title, .page .post-title, .single-gallery .post-title{
    text-align: center;
    margin-bottom: 15px;
    font-size: 32px;
    letter-spacing: 0;
}

.video-container .post-meta-container .post-meta{
    margin-bottom: 30px;
    text-align: left;
}
@media only screen and (min-width : 768px){
    .video-container .twelve .post-content{
        padding-right: 30px;
        max-width: 900px
    }
}
.post-meta-container .post-meta{
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: center;
    margin-bottom: 60px;
}

.post-meta-container .post-meta li{
    display: inline-block;
    font-size: 12px;
    color: #888888;
}
.post-meta-container .post-meta li a{
    color: #888888;
}
.post-meta-container .post-meta li a:hover{
    color: #222;
}
.post-meta-container .post-meta li:not(:last-child):after{
    content: ' / ';
    display: inline-block;
    margin: 0 5px;
}
.post-meta-container .post-meta li ul{
    margin: 0;
    list-style-type: none;
    padding: 0;
}

.post-author-box{
    padding: 50px;
    background: #FFF;
    margin-bottom: 60px;
}
.post-author-box:after{
    content: '';
    display: table;
    clear: both;
}
.post-author-box >a{
    max-width: 80px;
    margin: 0 30px 0 0;
    float: left;
    display: inline-block;
}
.post-author-box > .author-title{
    font-size: 18px;
    font-family: 'Montserrat', Helvetica;
    font-weight: normal;
    margin: 0 0 15px;
    text-transform: uppercase;
}
.post-author-box > .author-title a{
    color: inherit;
}
.post-author-box .author-box-info{
    line-height: 1.8;
    padding-left: 110px;
}
.related-box{
    background: #FFF;
    padding: 60px 0;
}
.related-box h3#related-title{
    font-size: 18px;
    font-family: 'Montserrat';
    text-align: center;
    font-weight: normal;
    text-transform: uppercase;
    margin-bottom: 60px;
    margin-top: 0;
}
.related-box .thumb-view article{
    text-align: center;
}

/* Video post single */
.video-info, .gallery-info{
    position: absolute;
    top: 100%;
    width: 100%;
    height: 100%;
    text-align: center;
}
.case-study-button{
    display: inline-block;
    height: 30px;
    line-height: 31px;
    background: #FFF;
    color: #9a9a9a;
    font-family: 'Montserrat', sans-serif;
    padding: 0 30px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: absolute;
    top: -30px;
    min-width: 250px;
    left: 50%;
    margin-left: -125px;
    font-size: 12px;
    -webkit-transition: .3s margin linear;
    -moz-transition: .3s margin linear;
    -o-transition: .3s margin linear;
    -ms-transition: .3s margin linear;
    transition: .3s margin linear;
}
.case-study-button.up{
    margin-top: 30px;
    z-index: 4;
    height: 50px;
    padding-bottom: 20px;
}
@media only screen and (min-width : 320px) and (max-width : 767px) {
    .case-study-button{
        display: none;
    }
}
.video-container, .gallery-container{
    overflow-y: scroll;
    background: rgba(255,255,255,0.9);
    position: relative;
    width: 100%;
    height: 100%;
    text-align: left;
    padding-top: 80px;
    line-height: 0;
}
.video-container{
    width: 101%; /*this will make the container wider and the scroll bar will not be visible ;) */
}
@media only screen and (min-width : 320px) and (max-width : 767px) {
    .video-container{
        width: 102%; /*this will make the container wider and the scroll bar will not be visible ;) */
    }
}
.video-container .seven img{
    margin-bottom: 30px;
}

.video-post-title {
    left: 0;
    right: 0;
    letter-spacing: 3px;
    position: absolute;
    text-transform: uppercase;
    top: 30%;
    color: #FFFFFF;
}
.post-navigation{margin-bottom: 30px;}
.post-navigation > ul{
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: block;
    background: #FFF;
}
.post-navigation > ul:after{
    content: '';
    display: block;
    clear: both;
}
.post-navigation > ul > li{
    margin: 0;
    padding: 0;
    display: block;
    float: left;
    width: 33.33%;
    text-transform: uppercase;
    color: #777;
    font-size: 12px;
    padding-left: 30px;
    line-height: 40px;
}
.post-navigation > ul > li:last-child{
    text-align: right;
    padding-right: 30px;
}
.post-navigation > ul > li:nth-child(2){
    text-align: center;
    font-size: 16px;
    padding: 0;
}

.post-navigation > ul > li a{
    color: inherit;
}


.post-navigation > ul{
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: block;
    background: #FFF;
}
.post-navigation > ul:after{
    content: '';
    display: block;
    clear: both;
}
.post-navigation > ul > li{
    margin: 0;
    padding: 0;
    display: block;
    float: left;
    width: 33.33%;
    text-transform: uppercase;
    color: #777;
    font-size: 12px;
    padding-left: 30px;
    line-height: 40px;
}
.post-navigation > ul > li:last-child{
    text-align: right;
    padding-right: 30px;
}
.post-navigation > ul > li:nth-child(2){
    text-align: center;
    font-size: 16px;
    padding: 0;
}

.post-navigation > ul > li a{
    color: inherit;
}

.post-navigation .nav-links a[rel='next']{
    float: right;
}

.scroll-pane {
    overflow: auto;
    height: 100%;
    width: 100%;
}

.case-study-button.icon-bottom:before{
    position: absolute;
    bottom: 10px;
    left: 50%;
    margin-left: -0.5em;
}


.sly .gallery-info{
    position: absolute;
    width: 300px;
    top: 0px;
    z-index: 10;
    background-color: #fff;
    overflow-y:auto;
    padding: 30px;
    left: -300px;
}

.sly .icon-popup.info-popup{
    cursor: pointer;
    width: 30px;
    height: 30px;
    z-index: 10;

    /*left: 350px;*/
    left: 0px;
    background-color: #fff;
    text-align: center;
    padding-top: 5px;
    position: absolute;
}

.sly .img-caption{
    position: absolute;
    right: 30px;
    bottom: 30px;
    opacity: 0.5;
}

.sly .img-caption:hover{
    opacity: 1;   
}

@media only screen  and (max-width: 600px){
    .single .featimg .back-to-posts, .page .featimg.featimgvideo, .home .featimg.featimgvideo{
        display: none;
    }
}


        /* Related posts section*/

        .post-wrapper .related-tabs {
            margin: 0;
            margin-bottom: 30px;
            padding: 0;
            list-style-type: none;
            line-height: 1;
        }

        .post-wrapper .related-tabs li{
            display: inline-block;
            margin: 0 5px 0 0;
            height: 35px;
            line-height: 35px;
            zoom: 1;
            color: white;
            -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
            filter: alpha(opacity=50);
            opacity: 0.5;
            background-color: black;
        }

        .post-wrapper .related-tabs li h3 {
            margin: 0;
            text-transform: uppercase;
            font-weight: normal;
            font-size: 16px;
            line-height: 36px;
        }

        .post-wrapper .related-tabs li a {
            color: white;
            display: block;
            padding: 0 10px;
        }

        /* End of Related posts section*/

    .single .featimg, .page .featimg, .home .featimg {
        position: relative;
        line-height: 0;
        text-align: center;
    }
    .single-blog .featimg{
        margin-bottom: 60px;
    }

    .page .featimg .post-title, .back-to-posts {
        background: none repeat scroll 0 0 rgba(0, 0, 0, 0.2);
        left: 0;
        position: absolute;
        right: 0;
        top: 0;
    }

    .page .featimg .post-title h2, .back-to-posts h2 {
        line-height: 130px;
        margin: 0 auto;
        max-width: 60%;
        color: #FFFFFF;
        text-align: center;        
    }
    .article-share{
        overflow: hidden;
    }
    
    .audioplayer_container > object {
        width: 100%;
    }

    #comment{
        height: 300px;
    }

    #comments form{
        margin: 0;
    }

    .cosmo-comment-list{
        list-style-type: none;
        margin: 0;
    }

    #respond .cosmo-comment-thumb{
        display: none;
    }

    .cosmo-comment-plain li.comment .cosmo-comment-thumb{float:left;margin: 0 20px 0 0;padding: 5px;border: 1px solid #e8e8e8;background: #FFF;line-height: 0; min-width: 70px;}

    .cosmo-comment-list > li.bypostauthor .cosmo-comment-textinfo, .cosmo-comment-list .children > li.bypostauthor .cosmo-comment-textinfo {
        color: #999;
        font-size: 12px;
        margin-bottom: 10px;
    }

    .cosmo-comment-plain li.comment {
        display: inline-block;
        clear: both;
        margin: 0;
        margin-bottom: 25px;
        padding-bottom: 25px;
        width: 100%;
        border-bottom: 1px dotted rgb(238, 238, 238);
        list-style-type: none;
        font-size: 12px;
    }

    .comment-body p{
        margin-bottom: 0;
    }

    #respond{
        clear: both;
    }

    .cosmo-comment-plain li.comment .reply {
        display: inline-block;
        margin-top: -1px;
        zoom: 1;
        float: right;
    }

    .form-submit{
        margin: 0;
    }

    .cosmo-ads.zone-2 {
        margin-top: 30px;
    }
    .ads { margin: 30px 0 30px; }
    #content .ads { margin: 0;}
    /* ---- END Single ---- */



/* ---------- End - Main Section ---------- */




/* ---------- Footer ---------- */
footer#footer-container *{
    font-size: 12px;
}

footer#footer-container .columns .widget:last-child{
    margin-bottom: 30px;
}

footer#footer-container .copyright-area{
    width: 100%;
    padding: 10px 0;
}

footer#footer-container .copyright-area p{
    color: black;
    margin:0;
}

footer#footer-container .copyright-area p a{
    color:#eb4c4c;
}

footer#footer-container .children{
    display: none !important;
}

footer#footer-container .sf-sub-indicator{
    display: none;
}

footer#footer-container .sf-menu{
    margin: 0;
    float: right;
}

footer#footer-container p.copyright{
    margin: 0;
    line-height: 30px;
}

/* ---------- End - Footer ---------- */


.hotkeys-meta .nav-next a:before, .hotkeys-meta .nav-previous a:before{
    -webkit-transition: color .2s linear, margin .5s ease;
    -moz-transition: color .2s linear, margin .5s ease;
    -o-transition: color .2s linear, margin .5s ease;
    -ms-transition: color .2s linear, margin .5s ease;
    transition: color .2s linear, margin .5s ease;
    margin-top: 30px;
    text-shadow: -1px 1px 1px #FFF;
}

.hotkeys-meta .nav-next a.fixed:before,
.hotkeys-meta .nav-previous a.fixed:before{
    position: fixed;
    top: 50px;
}

.hotkeys-meta .nav-next a.absbottom:before,
.hotkeys-meta .nav-previous a.absbottom:before{
    bottom: 20px;
    position: absolute;
    top: auto;
}

.hotkeys-meta .nav-next a:before{
    display: block;
    position: absolute;
    right: 100px;
    top: 25px;
    content: '\203A';
    font-style: normal;
    font-weight: normal;
    color: rgba(0,0,0,0.08);
    font-size: 200px;
    width: 100px;
    height: 100px;
}
.hotkeys-meta .nav-previous a:before{
    display: block;
    position: absolute;
    left: 100px;
    top: 25px;
    content: '\2039';
    font-style: normal;
    font-weight: normal;
    color: rgba(0,0,0,0.08);
    font-size: 200px;
    width: 100px;
    height: 100px;
}
.hotkeys-meta .nav-previous a:hover:before{
    margin-left: -10px; 
}

.hotkeys-meta .nav-next a:hover:before{
    margin-right: -10px;
}

.hotkeys-meta .nav-previous a:hover:before, .hotkeys-meta .nav-next a:hover:before{ 
    color: #EB4C4C;
}
.single #content>.single-row-container:nth-child(odd) .hotkeys-meta .nav-previous a:before, .page #content>.single-row-container:nth-child(odd) .hotkeys-meta .nav-previous a:before, .single #content>.single-row-container:nth-child(odd) .hotkeys-meta .nav-next a:before, .page #content>.single-row-container:nth-child(odd) .hotkeys-meta .nav-next a:before{
    color: #E8E8E8;
}
.single #content>.single-row-container:nth-child(odd) .hotkeys-meta .nav-previous a:hover:before, .page #content>.single-row-container:nth-child(odd) .hotkeys-meta .nav-previous a:hover:before, .single #content>.single-row-container:nth-child(odd) .hotkeys-meta .nav-next a:hover:before, .page #content>.single-row-container:nth-child(odd) .hotkeys-meta .nav-next a:hover:before{
    color: #ddd;
}

.single-slide1{
    position: absolute;
    width: 100%;
    height: 150%;
    top: 0;
    right: 0;
}
.single-slide2{
    position: absolute;
    width: 100%;
    height: 150%;
    top: 0;
    right: 0;
}

/* ---------- Different Viewports Style ---------- */



/* > 1440px width */
@media only screen  and (min-width: 1440px){
    
}

/* between 1440px and 1280px width */
@media only screen  and (min-width: 1280px) and (max-width: 1439px){

}

/* between 1440px and 1280px width */
@media only screen  and (min-width: 1400px) and (max-width: 1480px){
    .hotkeys-meta .nav-next a:before{
        right: 15px; 
    }
    .hotkeys-meta .nav-previous a:before{
        left: 15px;
    }
}


@media only screen  and (max-width: 1400px){
    nav.hotkeys-meta{
        display: none;
    }
}

/* between 1280px and 1024px width */
@media only screen  and (min-width: 1024px) and (max-width: 1279px){
    nav.hotkeys-meta{
        display: none;
    }
}

/* between 1024px and 768px width */
@media only screen  and (min-width: 768px) and (max-width: 1023px){
       nav.hotkeys-meta{
        display: none;
    }
}

/* <768px width */
@media only screen  and (max-width: 768px){
    h2.post-title{
        font-size: 24px;
    }
    h3.related-title, h3#reply-title, .comments-title{
        font-size: 22px;
    }
    .article-share{
        margin-bottom: 30px;
    }
    #related-posts div:not(:last-child) article{
        margin-bottom: 30px;
    }
    #header .content-title{
        font-size: 20px;
        margin: 10px 0 10px 0;
    }

    
    #small-device-nav{
        display: block;
        min-height: 50px;
        top: 50%;
        margin-top: -25px;
    }
    .footer-menu-container,
    nav.hotkeys-meta,
    nav.main-menu ul li{
        display: none;
    }

    
}

/* ---------- End - Different Viewports Style ---------- */
#comments .children{
    margin-left: 20px;
}
.breadcrumbs{
    margin: 20px 0;
    text-align: center;
}
.breadcrumbs ul{
    list-style-type: none;
    margin: 0;
}
.breadcrumbs ul li{
    display: inline-block;
    font-size: 11px;
}
.breadcrumbs ul li:not(:first-child):before{
    content: '\e805';
    font-family: 'fontello';
    font-style: normal;
    font-weight: normal;
    speak: none;
    font-size: 10px;
    display: inline-block;
    margin: 0 10px;
    color: #444444;
}


/* Tabs widget */
.widget_tabber{
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.widget_tabber li{
    margin: 0;
    padding: 0;
    display: inline-block;
}

/* Things */

.widget div.widget-meta li.cosmo-comments{
    line-height: 16px;
}
.widget div.widget-meta li.cosmo-comments > a{
    display: inline-block;
    height: 16px;
    line-height: 16px;
    overflow: hidden;
}
.widget div.widget-meta li.time:before{
    content: "•   \00a0" ;
}

.widget div.widget-meta li.time time{
    line-height: 16px;
    display: inline-block;
    height: 16px;
}
.widget div.widget-meta li.author{
    line-height: 16px;
    display: inline-block;
    height: 16px;
}

.widget div.widget-meta ul li.thelike{
    display: inline-block;
    height: 16px;
    line-height: 16px;
    margin-left: 10px;
}


/*Twitter widget*/

.cosmo-twit-container { height:auto!important; width: 100%; position: relative; float: left; }
.cosmo-twit-container .cosmo_twitter{ }
.cosmo-twit-container .cosmo_twitter p{ margin:0;}

@media only screen and (min-width: 768px) and (max-width: 990px) {.flickr_badge_image img{ width:65px !important;height: auto !important;}}


@media only screen and (min-width: 480px) and (max-width: 767px) {}
@media only screen and (min-width: 240px) and (max-width: 479px) {}

.cosmo-twit-container ul li div{padding: 15px 0; }

.cosmo-twit-container span.date{ display: block; margin-top: 10px; text-align: right; }
.cosmo-twit-container span.date a{ text-decoration: none; }

footer aside .cosmo-twit-container .cosmo_twitter p{ margin:0; max-width: 370px;}

.i_join_us{ width:100%; height: 32px; line-height: 32px; display: block; margin: 0; font-weight: bold; position:relative;}


/*Static Twitter widget*/
.tweet_item{display: none;margin-bottom: 7px;opacity: 0;}
.static .cosmo_twitter .tweet_item{ padding: 13px 0 15px 0;opacity: 1;display: block;}
.static .cosmo_twitter .tweet_item:first-child{ padding-top: 0; }
.static .cosmo_twitter p{ width: auto; max-width: none;}
.static .slides_container { padding: 0; }
.static.i_join_us{ margin-top: 15px; height: 22px; line-height: 22px; text-align: left;}
.i_join_us.static i {
    color: #48C4D2;
    font-size: 25px;
    padding-right: 20px;
}
.i_join_us.static i:hover {
    color: #fbfbf1;
}


/* Instagram widget */

.instagram_widget p.instagram_likes{
    display: block;
    line-height: 18px;
    font-size: 12px;
    color: black;
    background: rgba(255,255,255,0.7);
    position: absolute;
    bottom: 6px;
    left: 0;
    right: 0;
    padding: 5px 10px;
    text-shadow: 1px 1px 1px rgba(255,255,255,0.5);
}
.instagram_widget p.instagram_caption{
    font-size: 12px;
    color: inherit;
    margin-bottom: 15px;
    display: block;
}
#wp-calendar > caption{
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}
#wp-calendar{
    border-spacing: 0;
    width: 100%;
}

.widget table {
    padding: 0;
    margin: 0;
}

/*##############################################*/


/* Likes */

.widget span.meta-likes{
    color: inherit;
}

.embedded_videos{
    margin-bottom: 30px;
}

/* ####### Related posts ####### */
#related-posts .entry-content{
    padding: 0 20px 20px 20px;
}

#related-posts header{
    overflow: hidden;
}

#related-posts header img{
    width: 100%;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -ms-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
}

#related-posts .entry-content a:hover h4{
    opacity: 0.8;
}

#related-posts header:hover img{
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
    transform: scale(1.05);
}

#related-posts .entry-content h4{
    font-family: 'Montserrat', sans-serif;
    -webkit-transition: opacity 0.4s ease;
    -moz-transition: opacity 0.4s ease;
    -ms-transition: opacity 0.4s ease;
    -o-transition: opacity 0.4s ease;
    transition: opacity 0.4s ease;
    font-weight: normal;
    letter-spacing: -0.5px;
    line-height: 1.4;
    color: inherit;
    font-size: 18px;
    margin: 10px 0;
}
#related-posts .entry-content a{
    color: inherit;
}
#related-posts .entry-content .entry-content-excerpt {
    line-height: 1.8;
    color: inherit;
    font-size: 12px;
}
#related-posts .related-delimiter{
    margin-bottom: 10px;
}

.latest-videos .massonry .massonry-elem.three, .latest-galleries .massonry .massonry-elem.three{
    width: 24.97%;
}
.main-container.latest-galleries{
    margin-top: -30px;
}
.main-container.latest-galleries .cosmo-thumb-view.no-gutter{
    margin-bottom: 0;
}



/*-----------input validation clases----------*/
.warning{color: #CE3D40;}
.invalid{border: 1px solid red !important;}


form.contactform textarea{ height: auto; }
form.form.comments textarea{ height: auto; }

.fl{float: left;}
.fr{float: right;}

#related-posts { margin-top: 30px; }
div.cosmo-comments { margin-bottom: 30px; }


/*for masonry we need to make columns a bit smaller*/
.massonry .massonry-elem.three{width:24.95%;} 
.massonry .massonry-elem.six { width: 49.9%; }

.left-layout .featimg{
    text-align: left;
    margin-bottom: 60px;
}
.left-layout > .row { margin-left: 20px; margin-right: 20px; }
body:not(.page, .single) .center-layout > .row { margin-left: 20px; margin-right: 20px; }
.page-template-template-page-php .row.cosmo-grid-view, .page-template-template-page-php .row.cosmo-thumb-view{ margin-left: 0px; }
.full-post > .row { width: auto; clear: both;}
.full-post > .row > .columns:first-child { padding-left: 0;}
.full-post > .row > .columns:last-child { padding-right: 0;}

.normal-post > .row{ width: 1170px; }
.wide-post > .row{ width: 1800px; }
.narrow-post > .row{ width: 768px; }

footer#footer-container.full-post{
    padding-left: 30px;
    padding-right: 30px;
}
/*.featvideo iframe { width: 100%; height: 700px; }*/

.meta-tags {
    margin-bottom: 30px;
}
.meta-tags .tagged-in-categ {
    font-style: italic;
    font-size: 11px;
    padding-right: 5px;
}

.meta-tags a{
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.cosmo-ajax-box{
    overflow: hidden;
    background: #FFF;
    width: 100%;
    z-index: 15;
    position: relative;
    /*display: none;*/
    /*max-height: 0;*/
    max-height: 0;
}
.transitions {
    transition: all 1.5s linear;
    -webkit-transition: all 1.5s linear;
    -moz-transition: all 1.5s linear;
}
.cosmo-ajax-box.opnd{
    /*max-height: 9999em;*/
}
.cosmo-ajax-box > .row{
    margin: 40px 25px;
}
.cosmo-ajax-box h2.entry-title{
    font-size: 22px;
    font-weight: 300;
    color: inherit;
    font-family: 'Pathway Gothic One', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.8;
    margin: 0 0 20px 0;
    line-height: 1.4;
    text-align: left;
    -webkit-transition: .3s color linear;
    -moz-transition: .3s color linear;
    -o-transition: .3s color linear;
    -ms-transition: .3s color linear;
    transition: .3s color linear;
}

.cosmo-ajax-box h2.entry-title a{
    color: #343434;
}

.cosmo-ajax-box .flex-direction-nav a{
    background: none;
    border: 0px;
    font-size: 30px;
    display: none;
}

.cosmo-ajax-box .flexslider:hover>.flex-direction-nav a{
    display: block;
}
.cosmo-ajax-box .entry-excerpt{
    font-size: 14px;
    color: inherit;
    line-height: 1.8;
    margin-bottom: 30px;
    font-family: inherit;
    -webkit-transition: .3s color linear;
    -moz-transition: .3s color linear;
    -o-transition: .3s color linear;
    -ms-transition: .3s color linear;
    transition: .3s color linear;
    color: #212121;
    font-size: 12px;
}
.cosmo-ajax-box .featimg, .page .cosmo-ajax-box .featimg, .cosmo-ajax-box .featimg #carousel, .page .cosmo-ajax-box .featimg #carousel{
    margin-bottom: 0;
    margin-top: 0;
}
.cosmo-ajax-box .navigation{
    position: absolute;
    top: 0px;
    right: -40px;
}
.cosmo-ajax-box .navigation div a{
    display: block;
    width: 30px;
    height: 30px;
    
    line-height: 28px;
    text-align: center;
    -webkit-transition: .3s background linear;
    -moz-transition: .3s background linear;
    -o-transition: .3s background linear;
    -ms-transition: .3s background linear;
    transition: .3s background linear;
}

.cosmo-ajax-box .close-preview{
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 16px;
    
}
.cosmo-ajax-box .close-preview a.icon-close:before{
    font-family: none;
}

.cosmo-ajax-box .flexslider .slides li{
    opacity: 0.5;
}

.cosmo-ajax-box .flexslider  .slides li.flex-active-slide{
    opacity: 1;   
}

.share-options li{
    display: inline-block;
    list-style: none outside none;
    font-size: 11px;
    margin-bottom: 10px;
    font-family: 'Montserrat';
    position: relative;
}
.share-options li:not(:last-child):after{
    content: '|';
    display: inline-block;
    position: absolute;
    right: 0;
    top: 0;
}
.share-options li a{
    padding: 0 13px;
    text-transform: uppercase;
    display: block;
    letter-spacing: 1px;
    -webkit-transition: color 0.2s ease-in 0s;
    -moz-transition: color 0.2s ease-in 0s;
    -o-transition: color 0.2s ease-in 0s;
    -ms-transition: color 0.2s ease-in 0s;
    transition: color 0.2s ease-in 0s;
}
.share-options li a:hover{
    color: #777;
}
.share-options{
    display: inline-block;
}


@media only screen and (max-width : 1619px) { /*for smaller screens we want to allign social sharing buttons with the lablel because they don't fit in a row*/
    .share-options{
        margin-left: -13px;
    }
}
.box-sharing{
    font-family: 'Montserrat';
    font-size: 11px;
    text-transform: uppercase;
}
.box-sharing span{
    color: #777;
}

h3#reply-title {
    padding: 0 15px;
}



/* Slideshow */

.header-slideshow{
    position: relative;
    width: 100%;
    min-height: 400px;
}
.header-slideshow-elem-content.no-text-description {
    background: none repeat scroll 0 0 transparent;
}
.header-slideshow-elem-content.non-boxed-layout {
    background: none repeat scroll 0 0 transparent;
    padding: 0;
    margin-top: 6%;
}

.header-slideshow ul.header-slideshow-list{
    list-style-type: none;
    padding: 0;
    margin: 0 auto;
    position: relative;
}

.header-slideshow ul.header-slideshow-list .header-slideshow-elem .slide-container{
    margin: 0px auto;
    overflow: hidden;
    display: inline-block;
    position: relative;
    line-height: 0;
    max-width: 100%;
}

.header-slideshow.full-width ul.header-slideshow-list{
    max-width: none;
    width: 100%;
    height: 100%;
}

.header-slideshow ul.header-slideshow-list > li.header-slideshow-elem {
    display: none;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    z-index: -20;
    left: 0;
}
.slide-wrapper{
    position: relative;
    line-height: 0;
}
.header-slideshow.full-width ul.header-slideshow-list > li.header-slideshow-elem {
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
}
.header-slideshow.full-width ul.header-slideshow-list > li.header-slideshow-elem .slide-container img{
    max-width: none;
    height: auto;
    width: auto;
    position: relative;
}

.header-slideshow ul.header-slideshow-list > li.header-slideshow-elem.active{
    display: block;
    z-index: -2;
}

ul.header-slideshow-navigation {
    bottom: 0;
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 0;
    width: 100%;
    text-align: center;
    margin: 0 0 20px;
}

ul.header-slideshow-navigation > li.header-slideshow-navigation-elem{
    display: inline-block;
    width: 15px;
    height: 15px;
    background-color: rgba(255,255,255,0.8);
    cursor: pointer;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.15);
    box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.1);
    -webkit-transition: background-color .2s ease;
       -moz-transition: background-color .2s ease;
        -ms-transition: background-color .2s ease;
         -o-transition: background-color .2s ease;
            transition: background-color .2s ease;
}

ul.header-slideshow-navigation > li.header-slideshow-navigation-elem.active{
    background-color: #FC6453;
}

ul.header-slideshow-captions{
    list-style-type: none;
    margin: 0;
    padding: 0 30px;
    position: absolute;
    z-index: 5;
    top: 35%;
    width: 100%;
}

.header-slideshow-elem-content{
    max-width: 650px;
    color: black;
    padding: 30px;
    text-align: left;
    z-index: 6;
    position: absolute;
    top: 38%;
    -webkit-transition: left .5s ease-in-out, right .5s ease-in-out;
       -moz-transition: left .5s ease-in-out, right .5s ease-in-out;
        -ms-transition: left .5s ease-in-out, right .5s ease-in-out;
         -o-transition: left .5s ease-in-out, right .5s ease-in-out;
            transition: left .5s ease-in-out, right .5s ease-in-out;
}
.header-slideshow-elem-content.right{
    margin-right: 160px;
    right: 0;
}
.header-slideshow-elem-content.left{
    margin-left: 80px;
    left: 0;
}
.header-slideshow-elem-content ul{
    margin:0;
    padding: 0;
    list-style-type: none;
}

.header-slideshow-elem-content li.elem-content-container{
    margin-bottom: 25px;
}

.header-slideshow-elem-content li.elem-content-container:last-child{
    margin-bottom: 0;
}
.header-slideshow-elem-content li.elem-content-container:first-child{
    margin-bottom: 10px;
}

.header-slideshow-elem-content h2{
    font-weight: 300;
    font-size: 46px;
    line-height: 1.2em;
    margin: 0 0 20px;
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: -2px;
    line-height: 70px;
}
.header-slideshow-elem-content.boxed-layout h2 span{
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.7);
    box-shadow: 10px 0 0 rgba(0, 0, 0, 0.7), -10px 0 0 rgba(0, 0, 0, 0.7);
    padding: 2px 0;
    color: #FFFFFF;
}
.header-slideshow-elem-content p{
    margin: 0;
    font-weight: 400;
    font-size: 13px;
}
.header-slideshow-elem-content.boxed-layout p{
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.7);
    box-shadow: 5px 0 0 rgba(0, 0, 0, 0.7), -5px 0 0 rgba(0, 0, 0, 0.7);
    padding: 2px 0;
    display: inline;
    color: #FFFFFF;
}
.header-slideshow-elem-content.boxed-layout .title-delimiter{
    display: none;
}
.header-slideshow-elem-content .slide-button{
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    display: inline-block;
    background-color: transparent;
    color: inherit;
    padding: 0 15px;
    line-height: 34px;
    margin: 0;
    width: auto;
    border: 2px solid #FFF;
    -webkit-transition: .2s opacity ease-in;
    -moz-transition: .2s opacity ease-in;
    -o-transition: .2s opacity ease-in;
    -ms-transition: .2s opacity ease-in;
    transition: .2s opacity ease-in;
}

.header-slideshow-elem-content .slide-button:hover{
    opacity: 0.8;
}
.header-slideshow-elem-content.boxed-layout .slide-button{
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.7);
    color: #FFFFFF;
}

.header-slideshow-elem-content.center{
    left: 50%;
    margin-left: -350px;
    text-align: center;
    max-width: 700px;
    width: 700px;
}
.header-slideshow-elem-content.non-boxed-layout{
    box-shadow: none;
}
ul.slides > li:not(:first-child){
    display: none;
}
@media only screen and (max-width : 1025px) {
    .header-slideshow-elem-content.left{
        margin-left: 60px;
    }
    .header-slideshow-elem-content.right{
        margin-right: 60px;
    }
    ul.header-slideshow-captions{
        top: 20%;
    }
}
@media only screen and (max-width : 1441px) {
    .header-slideshow-elem-content.left{
        margin-left: 120px;
    }
    .header-slideshow-elem-content.right{
        margin-right: 120px;
    }
    ul.header-slideshow-captions{
        top: 20%;
    }
}
@media only screen and (max-width : 768px) {
    .header-slideshow-captions{
        display: none !important;
    }
    .widget:last-child {
        margin-bottom: 30px !important;
    }
    .header-slideshow-elem-content ul{
        display: none;=
    }
}       
.title-delimiter{
    width: 50px;
    height: 3px;
    background: #FFF;
    margin-top: 10px;
    margin-bottom: 30px;
}

/* End of slideshow */

.cosmo-one-half,
.cosmo-one-third,
.cosmo-two-third,
.cosmo-three-fourth,
.cosmo-one-fourth,
.cosmo-one-fifth,
.cosmo-two-fifth,
.cosmo-three-fifth,
.cosmo-four-fifth,
.cosmo-one-sixth,
.cosmo-five-sixth {
    line-height: 1.7;
}

@media only screen and (max-width: 480px){ 
    .page-template-template-page-php .cosmo-one-half,
    .page-template-template-page-php .cosmo-one-third,
    .page-template-template-page-php .cosmo-two-third,
    .page-template-template-page-php .cosmo-three-fourth,
    .page-template-template-page-php .cosmo-one-fourth,
    .page-template-template-page-php .cosmo-one-fifth,
    .page-template-template-page-php .cosmo-two-fifth,
    .page-template-template-page-php .cosmo-three-fifth,
    .page-template-template-page-php .cosmo-four-fifth,
    .page-template-template-page-php .cosmo-one-sixth,
    .page-template-template-page-php .cosmo-five-sixth{
        width: 90%; 
        margin-left: 4%;
    }
}

@media only screen and (min-width: 481px) and (max-width: 767px){ 
    .page-template-template-page-php .cosmo-one-half,
    .page-template-template-page-php .cosmo-one-third,
    .page-template-template-page-php .cosmo-two-third,
    .page-template-template-page-php .cosmo-three-fourth,
    .page-template-template-page-php .cosmo-one-fourth,
    .page-template-template-page-php .cosmo-one-fifth,
    .page-template-template-page-php .cosmo-two-fifth,
    .page-template-template-page-php .cosmo-three-fifth,
    .page-template-template-page-php .cosmo-four-fifth,
    .page-template-template-page-php .cosmo-one-sixth,
    .page-template-template-page-php .cosmo-five-sixth{
        width: 40%; 
        margin-left: 5%;
    }
}


/* Browser Resets */
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;} 

/* FlexSlider Necessary Styles *********************************/ 
.flexslider {margin: 0; padding: 0; }
.flexslider .slides > li { display: none; -webkit-backface-visibility: hidden; position: relative; height: auto !important; } /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {max-width: 100%; display: block; margin: 0px auto; }
.fluid_container .slides li img{width: 100%; max-width: auto;}
.flexslider .slides li{width: auto;}
.flex-pauseplay span {text-transform: capitalize;}
/*.flexslider .flex-viewport li{background: rgba(200,200,200, 0.5);}*/
.cosmo-ajax-box .flexslider, .cosmo-ajax-box .featimg{max-width: 900px; }
.cosmo-ajax-box .featimg{overflow: visible;}
.cosmo-ajax-box .icon-fullscreen:before{
    margin-right: 0em;
}
/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
html[xmlns] .slides {display: block;} 
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you  * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}


/* FlexSlider Default Theme *********************************/
.flexslider {margin: 0 0 60px;position: relative; zoom: 1;}
.flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
.loading .flex-viewport {max-height: 300px;}
.flexslider .slides {zoom: 1;}

.carousel li {margin-right: 5px}

.cosmo-ajax-box .flexslider{
    margin-bottom: 20px;
}

/* Direction Nav */
.flex-direction-nav a {width: 30px; height: 30px; line-height: 30px; text-align: center; margin: -20px 0 0; display: block; z-index: 10;
    border-radius: 50%; position: absolute; top: 50%; cursor: pointer; text-indent: opacity: 0; -webkit-transition: all .3s ease;}
.flex-direction-nav .flex-next {background-position: 100% 0; right: 5px; }
.flex-direction-nav .flex-next:before { content: '\e805'; font-family: 'fontello'; } 
.flex-direction-nav .flex-prev {left: 5px;  }
.flex-direction-nav .flex-prev:before { content: '\e804'; font-family: 'fontello'; }
.flexslider:hover .flex-next {opacity: 0.8; right: 5px;}
.flexslider:hover .flex-prev {opacity: 0.8; left: 5px;}
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {opacity: 1;}
.flex-direction-nav .disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}

/* Control Nav */
.flex-control-nav {width: 100%; position: absolute; bottom: -40px; text-align: center;}
.flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a {width: 11px; height: 11px; display: block; background: #666; background: rgba(0,0,0,0.5); cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; box-shadow: inset 0 0 3px rgba(0,0,0,0.3);}
.flex-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); }
.flex-control-paging li a.flex-active { background: #000; background: rgba(0,0,0,0.9); cursor: default; }

.flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
.flex-control-thumbs li {width: 25%; float: left; margin: 0;}
.flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
.flex-control-thumbs img:hover {opacity: 1;}
.flex-control-thumbs .active {opacity: 1; cursor: default;}

@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev {opacity: 1; left: 0;}
  .flex-direction-nav .flex-next {opacity: 1; right: 0;}
}

.cosmo-team-member .entry-content ul h4{
    text-transform: uppercase;
}

.cosmo-team-member .entry-content ul .cosmo-social li{
    text-transform: uppercase;
    font-family: 'Montserrat';
    opacity: 0.6;
    font-size: 13px;
}

.cosmo-social [class^="icon-"]:before{
    position: absolute;
    margin-left: -7px;
}

 .cosmo-ajax-box .flex-direction-nav a:before{
    position: absolute;
    margin-left: -8px;   
 }

@media screen and (-webkit-min-device-pixel-ratio:0) { 
    /* Safari only override */
    ::i-block-chrome,.cosmo-ajax-box .flex-direction-nav .flex-prev{
        left: 30px !important; 
    } 
    ::i-block-chrome,.cosmo-social [class^="icon-"]::before {
        position: absolute;
        margin-left: 7px;
    }
}
.cosmo-ajax-box .flex-direction-nav a.flex-next:before{
    position: absolute;
    margin-left: -1px;   
 }

/*To target IE 8, 9 and 10*/
@media screen\0 {
    .cosmo-social [class^="icon-"]:before{
        position: inherit;
        margin-left: auto;
    }
     .cosmo-ajax-box .flex-direction-nav a:before{
        position: inherit;
        margin-left: auto;   
     }

    .cosmo-ajax-box .flex-direction-nav a.flex-next:before{
        position: inherit;
        margin-left: auto;   
     }

} 

.cosmo-team-member .featimg{
    margin-bottom: 15px;
}

/* Common styles of menus */

.dl-menuwrapper {
    border: 0px;
}

.dl-menuwrapper button {
    background: none;
    border: 0px;
    box-shadow: none !important;
    font-size: 30px;
    padding: 0px;
    z-index: 99999;
    position: absolute;
}


.dl-menuwrapper ul {
    background: #000;
}



.dl-menuwrapper ul {
    padding: 0;
    list-style: none;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.dl-menuwrapper li {
    position: relative;
    display: block;
}

.dl-menuwrapper li a {
    display: block;
    position: relative;
    padding: 15px 20px;
    font-size: 16px;
    line-height: 20px;
    font-weight: 300;
    color: #fff;
    outline: none;
}

.no-touch .dl-menuwrapper li a:hover {
    background: rgba(255,248,213,0.1);
}

.dl-menuwrapper li.dl-back > a {
    padding-left: 30px;
    background: rgba(0,0,0,0.1);
}

.dl-menuwrapper li.dl-back:after,
.dl-menuwrapper li > a:not(:only-child):after {
    position: absolute;
    top: 0;
    line-height: 50px;
    font-family: 'fontello';
    speak: none;
    -webkit-font-smoothing: antialiased;
    content: '\e805';
    color: #FFFFFF;
    border: 0 none;
    margin-top: 0;
    right: 10px;
}

.dl-menuwrapper li.dl-back:after {
    left: 10px;
    color: #FFFFFF;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    transform: rotate(180deg);
    right: auto;
}

.dl-menuwrapper li > a:after {
    right: 10px;
    color: rgba(0,0,0,0.15);
}

.dl-menuwrapper .dl-menu {
    margin: 5px 0 0 0;
    position: absolute;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    -webkit-transform: translateY(10px);
    -moz-transform: translateY(10px);
    transform: translateY(10px);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    z-index: 99999;
}

.dl-menuwrapper .dl-menu.dl-menu-toggle {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.dl-menuwrapper .dl-menu.dl-menuopen {
    opacity: 1;
    pointer-events: auto;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    transform: translateY(0px);
    margin-top: 50px;
}

/* Hide the inner submenus */
.dl-menuwrapper li .dl-submenu {
    display: none;
}

/* 
When a submenu is openend, we will hide all li siblings.
For that we give a class to the parent menu called "dl-subview".
We also hide the submenu link. 
The opened submenu will get the class "dl-subviewopen".
All this is done for any sub-level being entered.
*/
.dl-menu.dl-subview li,
.dl-menu.dl-subview li.dl-subviewopen > a,
.dl-menu.dl-subview li.dl-subview > a {
    display: none;
}

.dl-menu.dl-subview li.dl-subview,
.dl-menu.dl-subview li.dl-subview .dl-submenu,
.dl-menu.dl-subview li.dl-subviewopen,
.dl-menu.dl-subview li.dl-subviewopen > .dl-submenu,
.dl-menu.dl-subview li.dl-subviewopen > .dl-submenu > li {
    display: block;
}

/* Dynamically added submenu outside of the menu context */
.dl-menuwrapper > .dl-submenu {
    position: absolute;
    width: 100%;
    top: 50px;
    left: 0;
    margin: 0;
}

/* Animation classes for moving out and in */

.dl-menu.dl-animate-out-1 {
    -webkit-animation: MenuAnimOut1 0.4s;
    -moz-animation: MenuAnimOut1 0.4s;
    animation: MenuAnimOut1 0.4s;
}

.dl-menu.dl-animate-out-2 {
    -webkit-animation: MenuAnimOut2 0.3s ease-in-out;
    -moz-animation: MenuAnimOut2 0.3s ease-in-out;
    animation: MenuAnimOut2 0.3s ease-in-out;
}

.dl-menu.dl-animate-out-3 {
    -webkit-animation: MenuAnimOut3 0.4s ease;
    -moz-animation: MenuAnimOut3 0.4s ease;
    animation: MenuAnimOut3 0.4s ease;
}

.dl-menu.dl-animate-out-4 {
    -webkit-animation: MenuAnimOut4 0.4s ease;
    -moz-animation: MenuAnimOut4 0.4s ease;
    animation: MenuAnimOut4 0.4s ease;
}

.dl-menu.dl-animate-out-5 {
    -webkit-animation: MenuAnimOut5 0.4s ease;
    -moz-animation: MenuAnimOut5 0.4s ease;
    animation: MenuAnimOut5 0.4s ease;
}

@-webkit-keyframes MenuAnimOut1 {
    50% {
        -webkit-transform: translateZ(-250px) rotateY(30deg);
    }
    75% {
        -webkit-transform: translateZ(-372.5px) rotateY(15deg);
        opacity: .5;
    }
    100% {
        -webkit-transform: translateZ(-500px) rotateY(0deg);
        opacity: 0;
    }
}

@-webkit-keyframes MenuAnimOut2 {
    100% {
        -webkit-transform: translateX(-100%);
        opacity: 0;
    }
}

@-webkit-keyframes MenuAnimOut3 {
    100% {
        -webkit-transform: translateZ(300px);
        opacity: 0;
    }
}

@-webkit-keyframes MenuAnimOut4 {
    100% {
        -webkit-transform: translateZ(-300px);
        opacity: 0;
    }
}

@-webkit-keyframes MenuAnimOut5 {
    100% {
        -webkit-transform: translateY(40%);
        opacity: 0;
    }
}

@-moz-keyframes MenuAnimOut1 {
    50% {
        -moz-transform: translateZ(-250px) rotateY(30deg);
    }
    75% {
        -moz-transform: translateZ(-372.5px) rotateY(15deg);
        opacity: .5;
    }
    100% {
        -moz-transform: translateZ(-500px) rotateY(0deg);
        opacity: 0;
    }
}

@-moz-keyframes MenuAnimOut2 {
    100% {
        -moz-transform: translateX(-100%);
        opacity: 0;
    }
}

@-moz-keyframes MenuAnimOut3 {
    100% {
        -moz-transform: translateZ(300px);
        opacity: 0;
    }
}

@-moz-keyframes MenuAnimOut4 {
    100% {
        -moz-transform: translateZ(-300px);
        opacity: 0;
    }
}

@-moz-keyframes MenuAnimOut5 {
    100% {
        -moz-transform: translateY(40%);
        opacity: 0;
    }
}

@keyframes MenuAnimOut1 {
    50% {
        transform: translateZ(-250px) rotateY(30deg);
    }
    75% {
        transform: translateZ(-372.5px) rotateY(15deg);
        opacity: .5;
    }
    100% {
        transform: translateZ(-500px) rotateY(0deg);
        opacity: 0;
    }
}

@keyframes MenuAnimOut2 {
    100% {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes MenuAnimOut3 {
    100% {
        transform: translateZ(300px);
        opacity: 0;
    }
}

@keyframes MenuAnimOut4 {
    100% {
        transform: translateZ(-300px);
        opacity: 0;
    }
}

@keyframes MenuAnimOut5 {
    100% {
        transform: translateY(40%);
        opacity: 0;
    }
}

.dl-menu.dl-animate-in-1 {
    -webkit-animation: MenuAnimIn1 0.3s;
    -moz-animation: MenuAnimIn1 0.3s;
    animation: MenuAnimIn1 0.3s;
}

.dl-menu.dl-animate-in-2 {
    -webkit-animation: MenuAnimIn2 0.3s ease-in-out;
    -moz-animation: MenuAnimIn2 0.3s ease-in-out;
    animation: MenuAnimIn2 0.3s ease-in-out;
}

.dl-menu.dl-animate-in-3 {
    -webkit-animation: MenuAnimIn3 0.4s ease;
    -moz-animation: MenuAnimIn3 0.4s ease;
    animation: MenuAnimIn3 0.4s ease;
}

.dl-menu.dl-animate-in-4 {
    -webkit-animation: MenuAnimIn4 0.4s ease;
    -moz-animation: MenuAnimIn4 0.4s ease;
    animation: MenuAnimIn4 0.4s ease;
}

.dl-menu.dl-animate-in-5 {
    -webkit-animation: MenuAnimIn5 0.4s ease;
    -moz-animation: MenuAnimIn5 0.4s ease;
    animation: MenuAnimIn5 0.4s ease;
}

@-webkit-keyframes MenuAnimIn1 {
    0% {
        -webkit-transform: translateZ(-500px) rotateY(0deg);
        opacity: 0;
    }
    20% {
        -webkit-transform: translateZ(-250px) rotateY(30deg);
        opacity: 0.5;
    }
    100% {
        -webkit-transform: translateZ(0px) rotateY(0deg);
        opacity: 1;
    }
}

@-webkit-keyframes MenuAnimIn2 {
    0% {
        -webkit-transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateX(0px);
        opacity: 1;
    }
}

@-webkit-keyframes MenuAnimIn3 {
    0% {
        -webkit-transform: translateZ(300px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateZ(0px);
        opacity: 1;
    }
}

@-webkit-keyframes MenuAnimIn4 {
    0% {
        -webkit-transform: translateZ(-300px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateZ(0px);
        opacity: 1;
    }
}

@-webkit-keyframes MenuAnimIn5 {
    0% {
        -webkit-transform: translateY(40%);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateY(0);
        opacity: 1;
    }
}

@-moz-keyframes MenuAnimIn1 {
    0% {
        -moz-transform: translateZ(-500px) rotateY(0deg);
        opacity: 0;
    }
    20% {
        -moz-transform: translateZ(-250px) rotateY(30deg);
        opacity: 0.5;
    }
    100% {
        -moz-transform: translateZ(0px) rotateY(0deg);
        opacity: 1;
    }
}

@-moz-keyframes MenuAnimIn2 {
    0% {
        -moz-transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        -moz-transform: translateX(0px);
        opacity: 1;
    }
}

@-moz-keyframes MenuAnimIn3 {
    0% {
        -moz-transform: translateZ(300px);
        opacity: 0;
    }
    100% {
        -moz-transform: translateZ(0px);
        opacity: 1;
    }
}

@-moz-keyframes MenuAnimIn4 {
    0% {
        -moz-transform: translateZ(-300px);
        opacity: 0;
    }
    100% {
        -moz-transform: translateZ(0px);
        opacity: 1;
    }
}

@-moz-keyframes MenuAnimIn5 {
    0% {
        -moz-transform: translateY(40%);
        opacity: 0;
    }
    100% {
        -moz-transform: translateY(0);
        opacity: 1;
    }
}

@keyframes MenuAnimIn1 {
    0% {
        transform: translateZ(-500px) rotateY(0deg);
        opacity: 0;
    }
    20% {
        transform: translateZ(-250px) rotateY(30deg);
        opacity: 0.5;
    }
    100% {
        transform: translateZ(0px) rotateY(0deg);
        opacity: 1;
    }
}

@keyframes MenuAnimIn2 {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}

@keyframes MenuAnimIn3 {
    0% {
        transform: translateZ(300px);
        opacity: 0;
    }
    100% {
        transform: translateZ(0px);
        opacity: 1;
    }
}

@keyframes MenuAnimIn4 {
    0% {
        transform: translateZ(-300px);
        opacity: 0;
    }
    100% {
        transform: translateZ(0px);
        opacity: 1;
    }
}

@keyframes MenuAnimIn5 {
    0% {
        transform: translateY(40%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.dl-menuwrapper > .dl-submenu.dl-animate-in-1 {
    -webkit-animation: SubMenuAnimIn1 0.4s ease;
    -moz-animation: SubMenuAnimIn1 0.4s ease;
    animation: SubMenuAnimIn1 0.4s ease;
}

.dl-menuwrapper > .dl-submenu.dl-animate-in-2 {
    -webkit-animation: SubMenuAnimIn2 0.3s ease-in-out;
    -moz-animation: SubMenuAnimIn2 0.3s ease-in-out;
    animation: SubMenuAnimIn2 0.3s ease-in-out;
}

.dl-menuwrapper > .dl-submenu.dl-animate-in-3 {
    -webkit-animation: SubMenuAnimIn3 0.4s ease;
    -moz-animation: SubMenuAnimIn3 0.4s ease;
    animation: SubMenuAnimIn3 0.4s ease;
}

.dl-menuwrapper > .dl-submenu.dl-animate-in-4 {
    -webkit-animation: SubMenuAnimIn4 0.4s ease;
    -moz-animation: SubMenuAnimIn4 0.4s ease;
    animation: SubMenuAnimIn4 0.4s ease;
}

.dl-menuwrapper > .dl-submenu.dl-animate-in-5 {
    -webkit-animation: SubMenuAnimIn5 0.4s ease;
    -moz-animation: SubMenuAnimIn5 0.4s ease;
    animation: SubMenuAnimIn5 0.4s ease;
}

@-webkit-keyframes SubMenuAnimIn1 {
    0% {
        -webkit-transform: translateX(50%);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateX(0px);
        opacity: 1;
    }
}

@-webkit-keyframes SubMenuAnimIn2 {
    0% {
        -webkit-transform: translateX(100%);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateX(0px);
        opacity: 1;
    }
}

@-webkit-keyframes SubMenuAnimIn3 {
    0% {
        -webkit-transform: translateZ(-300px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateZ(0px);
        opacity: 1;
    }
}

@-webkit-keyframes SubMenuAnimIn4 {
    0% {
        -webkit-transform: translateZ(300px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateZ(0px);
        opacity: 1;
    }
}

@-webkit-keyframes SubMenuAnimIn5 {
    0% {
        -webkit-transform: translateZ(-200px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateZ(0);
        opacity: 1;
    }
}

@-moz-keyframes SubMenuAnimIn1 {
    0% {
        -moz-transform: translateX(50%);
        opacity: 0;
    }
    100% {
        -moz-transform: translateX(0px);
        opacity: 1;
    }
}

@-moz-keyframes SubMenuAnimIn2 {
    0% {
        -moz-transform: translateX(100%);
        opacity: 0;
    }
    100% {
        -moz-transform: translateX(0px);
        opacity: 1;
    }
}

@-moz-keyframes SubMenuAnimIn3 {
    0% {
        -moz-transform: translateZ(-300px);
        opacity: 0;
    }
    100% {
        -moz-transform: translateZ(0px);
        opacity: 1;
    }
}

@-moz-keyframes SubMenuAnimIn4 {
    0% {
        -moz-transform: translateZ(300px);
        opacity: 0;
    }
    100% {
        -moz-transform: translateZ(0px);
        opacity: 1;
    }
}

@-moz-keyframes SubMenuAnimIn5 {
    0% {
        -moz-transform: translateZ(-200px);
        opacity: 0;
    }
    100% {
        -moz-transform: translateZ(0);
        opacity: 1;
    }
}

@keyframes SubMenuAnimIn1 {
    0% {
        transform: translateX(50%);
        opacity: 0;
    }
    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}

@keyframes SubMenuAnimIn2 {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}

@keyframes SubMenuAnimIn3 {
    0% {
        transform: translateZ(-300px);
        opacity: 0;
    }
    100% {
        transform: translateZ(0px);
        opacity: 1;
    }
}

@keyframes SubMenuAnimIn4 {
    0% {
        transform: translateZ(300px);
        opacity: 0;
    }
    100% {
        transform: translateZ(0px);
        opacity: 1;
    }
}

@keyframes SubMenuAnimIn5 {
    0% {
        transform: translateZ(-200px);
        opacity: 0;
    }
    100% {
        transform: translateZ(0);
        opacity: 1;
    }
}

.dl-menuwrapper > .dl-submenu.dl-animate-out-1 {
    -webkit-animation: SubMenuAnimOut1 0.4s ease;
    -moz-animation: SubMenuAnimOut1 0.4s ease;
    animation: SubMenuAnimOut1 0.4s ease;
}

.dl-menuwrapper > .dl-submenu.dl-animate-out-2 {
    -webkit-animation: SubMenuAnimOut2 0.3s ease-in-out;
    -moz-animation: SubMenuAnimOut2 0.3s ease-in-out;
    animation: SubMenuAnimOut2 0.3s ease-in-out;
}

.dl-menuwrapper > .dl-submenu.dl-animate-out-3 {
    -webkit-animation: SubMenuAnimOut3 0.4s ease;
    -moz-animation: SubMenuAnimOut3 0.4s ease;
    animation: SubMenuAnimOut3 0.4s ease;
}

.dl-menuwrapper > .dl-submenu.dl-animate-out-4 {
    -webkit-animation: SubMenuAnimOut4 0.4s ease;
    -moz-animation: SubMenuAnimOut4 0.4s ease;
    animation: SubMenuAnimOut4 0.4s ease;
}

.dl-menuwrapper > .dl-submenu.dl-animate-out-5 {
    -webkit-animation: SubMenuAnimOut5 0.4s ease;
    -moz-animation: SubMenuAnimOut5 0.4s ease;
    animation: SubMenuAnimOut5 0.4s ease;
}

@-webkit-keyframes SubMenuAnimOut1 {
    0% {
        -webkit-transform: translateX(0%);
        opacity: 1;
    }
    100% {
        -webkit-transform: translateX(50%);
        opacity: 0;
    }
}

@-webkit-keyframes SubMenuAnimOut2 {
    0% {
        -webkit-transform: translateX(0%);
        opacity: 1;
    }
    100% {
        -webkit-transform: translateX(100%);
        opacity: 0;
    }
}

@-webkit-keyframes SubMenuAnimOut3 {
    0% {
        -webkit-transform: translateZ(0px);
        opacity: 1;
    }
    100% {
        -webkit-transform: translateZ(-300px);
        opacity: 0;
    }
}

@-webkit-keyframes SubMenuAnimOut4 {
    0% {
        -webkit-transform: translateZ(0px);
        opacity: 1;
    }
    100% {
        -webkit-transform: translateZ(300px);
        opacity: 0;
    }
}

@-webkit-keyframes SubMenuAnimOut5 {
    0% {
        -webkit-transform: translateZ(0);
        opacity: 1;
    }
    100% {
        -webkit-transform: translateZ(-200px);
        opacity: 0;
    }
}

@-moz-keyframes SubMenuAnimOut1 {
    0% {
        -moz-transform: translateX(0%);
        opacity: 1;
    }
    100% {
        -moz-transform: translateX(50%);
        opacity: 0;
    }
}

@-moz-keyframes SubMenuAnimOut2 {
    0% {
        -moz-transform: translateX(0%);
        opacity: 1;
    }
    100% {
        -moz-transform: translateX(100%);
        opacity: 0;
    }
}

@-moz-keyframes SubMenuAnimOut3 {
    0% {
        -moz-transform: translateZ(0px);
        opacity: 1;
    }
    100% {
        -moz-transform: translateZ(-300px);
        opacity: 0;
    }
}

@-moz-keyframes SubMenuAnimOut4 {
    0% {
        -moz-transform: translateZ(0px);
        opacity: 1;
    }
    100% {
        -moz-transform: translateZ(300px);
        opacity: 0;
    }
}

@-moz-keyframes SubMenuAnimOut5 {
    0% {
        -moz-transform: translateZ(0);
        opacity: 1;
    }
    100% {
        -moz-transform: translateZ(-200px);
        opacity: 0;
    }
}

@keyframes SubMenuAnimOut1 {
    0% {
        transform: translateX(0%);
        opacity: 1;
    }
    100% {
        transform: translateX(50%);
        opacity: 0;
    }
}

@keyframes SubMenuAnimOut2 {
    0% {
        transform: translateX(0%);
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes SubMenuAnimOut3 {
    0% {
        transform: translateZ(0px);
        opacity: 1;
    }
    100% {
        transform: translateZ(-300px);
        opacity: 0;
    }
}

@keyframes SubMenuAnimOut4 {
    0% {
        transform: translateZ(0px);
        opacity: 1;
    }
    100% {
        transform: translateZ(300px);
        opacity: 0;
    }
}

@keyframes SubMenuAnimOut5 {
    0% {
        transform: translateZ(0);
        opacity: 1;
    }
    100% {
        transform: translateZ(-200px);
        opacity: 0;
    }
}

/* No JS Fallback */
.no-js .dl-menuwrapper .dl-menu {
    position: relative;
    opacity: 1;
    -webkit-transform: none;
    -moz-transform: none;
    transform: none;
}

.no-js .dl-menuwrapper li .dl-submenu {
    display: block;
}

.no-js .dl-menuwrapper li.dl-back {
    display: none;
}

.no-js .dl-menuwrapper li > a:not(:only-child) {
    background: rgba(0,0,0,0.1);
}

.no-js .dl-menuwrapper li > a:not(:only-child):after {
    content: '';
}

/* Colors for demos */




.dl-menuwrapper ul {
    background: #000;
}

.menu-btn {
    text-align: center;
    width: 100%;
    margin-top: 5px;
}
.menu-btn  .icon-bottom{
    cursor: pointer;
    position: relative;
}
@media only screen and (min-width : 320px) and (max-width : 767px) {
    .menu-btn{
        display: none;
    }
}
.featimg-video i.icon-play {
    border: 4px solid #FFFFFF;
    border-radius: 50% 50% 50% 50%;
    color: white;
    cursor: pointer;
    font-size: 38px;
    width: 100px;
    height: 100px;
    position: absolute;
    left: 50%;
    margin-left: -50px;
    top: 50%;
    margin-top: -50px;
}
.featimg-video i.icon-play:before {
    content: '\25b6'; 
    position: absolute;
    left: 50%;
    margin-left: -13px;
    top: 50%;
    margin-top: -18px;
}
.single .featimg.featimgvideo, .page .featimg.featimgvideo, .home .featimg.featimgvideo{
    position: absolute;
    left: 0;
    right: 0;
    height: 100%;
}
.notvisible{
    visibility: hidden;
}
#infscr-loading {
    background: none repeat scroll 0 0 rgba(255, 255, 255, 0.9);
    border-radius: 10px 10px 10px 10px;
    bottom: 30px;
    color: #222222;
    font-size: 15px;
    font-weight: bold;
    left: 42%;
    padding: 20px;
    position: fixed;
    text-align: center;
    z-index: 100;
}

.page .featimg {
    margin-bottom: 60px; 
}

.page .template-featimg, .page .single-row-container > .featimg, .page-without-title {
    margin-top: -30px;
}

.contact-icon{
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
}

/* for decrease the default width because 3 columns don't fit on smaller screens */
.latest-videos .row .four, .latest-galleries .row .four{
    width: 33.32%;
}

/* overwrite some shortodes styles*/
p, .cosmo-box h1, .cosmo-box h2, .cosmo-box h3, .cosmo-box h4, .cosmo-box h5, .cosmo-box h6{
    color: inherit;
}
.cosmo-box .row, .row .cosmo-box .row{
    margin: 0 auto;
    width: 1140px;
    color: inherit;
    max-width: 100%;
}
.cosmo-contact-form{
    margin: 0 -15px;
}
.cosmo-contact-form > p {
    clear: none;
    display: inline-block;
    float: left;
    margin-bottom: 0;
    margin-right: -4px;
    padding: 0 15px;
    width: 50%;
}
.cosmo-contact-form p.form-submit{
    margin-top: 28px;
}
#cosmo_contact_response {
    clear: both;
    margin: 0 15px;
}
#cosmo_contact_response p{
    margin: 0;
}
.cosmo-contact-form #cosmo-send-msg{
    background: transparent;
    border: 0 none;
    height: auto;
    display: inline;
    box-shadow: none;
    padding: 0;
    font-size: 16px;
}

.cosmo-contact-form label {
    display: block;
}
.cosmo-contact-form .invalid {
    border: 1px solid red !important;
}
.cosmo-box.padded {
    padding: 60px 30px;
}
.cosmo-box p, .cosmo-box h1, .cosmo-box h2, .cosmo-box h3, .cosmo-box h4, .cosmo-box h5, .cosmo-box h6 {
    color: inherit;
}
.cosmo-box .row, .row .cosmo-box .row {
    color: inherit;
    margin: 0 auto;
    max-width: 100%;
    width: 1140px;
}
.cosmo-contact-form {
    margin: 0 -15px;
}
.cosmo-contact-form > p {
    clear: none;
    display: inline-block;
    float: left;
    margin-bottom: 0;
    margin-right: -4px;
    padding: 0 15px;
    width: 50%;
}
.cosmo-contact-form p.form-submit {
    margin-top: 28px;
}
#cosmo_contact_response {
    clear: both;
    margin: 0 15px;
}
#cosmo_contact_response p {
    margin: 0;
}
.cosmo-contact-form #cosmo-send-msg {
    background: none repeat scroll 0 0 transparent;
    border: 0 none;
    box-shadow: none;
    display: inline;
    font-size: 16px;
    height: auto;
    padding: 0;
}

.row.full-post{ width: 100%;} 
.row.full-post .columns{padding: 0px;}

.flexslider-slideshow{
    margin-top: -30px;
}
.flexslider-slideshow .flex-direction-nav a{
    font-size: 26px;
    background: none;
    display: none;
}

.flexslider-slideshow:hover>.flex-direction-nav a{
    display: block;
}
.flexslider.flexslider-slideshow .flex-control-nav{
    display: none;    
}
.main-container.latest-galleries.top-60{
    margin-top: -60px;
}

.latest-videos .row.cosmo-thumb-view.top-30{
    margin-top: -30px;
}

.latest-videos .row.cosmo-thumb-view.top-60{
    margin-top: -60px;
}
.cosmo-thumb-view{
    margin-bottom: 30px !important;
}
.page-template-template-video-php .row.full-post .columns.video-container-content,  .page-template-template-video-php .row.full-post .columns.attached-images,
.single-video .row.full-post .columns.video-container-content, .single-video .row.full-post .columns.attached-images, .gallery-container-content {padding-left: 30px;}
@media only screen and (min-width : 769px){
    .page-template-template-video-php  .row.full-post .columns.video-container-content, .page-template-template-video-php .row.full-post .columns.attached-images,
    .single-video .row.full-post .columns.video-container-content, .single-video .row.full-post .columns.attached-images, .gallery-container-content {padding-left: 85px;}
}
.page-template-template-video-php  .row.full-post .columns.attached-images img,
.single-video .row.full-post .columns.attached-images img{  max-width: 900px; display: block; margin-bottom: 25px;}
@media only screen and (max-width : 1200px){
    .page-template-template-video-php .row.full-post .columns.attached-images img,
    .single-video .row.full-post .columns.attached-images img{ max-width: 95%; }
}
   
@media only screen and (max-width : 700px){
    .page-template-template-video-php .post-navigation.for-mobile,  .single-video .post-navigation.for-mobile {display: block;}
    .page-template-template-video-php .post-navigation.for-non-mobile, .single-video .post-navigation.for-non-mobile {display: none;}
}
@media only screen and (min-width : 701px){
    .page-template-template-video-php .post-navigation.for-mobile, .single-video .post-navigation.for-mobile {display: none;}
    .page-template-template-video-php .post-navigation.for-non-mobile , .single-video .post-navigation.for-non-mobile {display: block;}
}

.full-post .cosmo-grid-view .columns{
    padding: 0 15px;
}

/*for single posts w/o sidebar we want to center the content*/
.post .nine.columns.no-sidebar, .page .nine.columns.no-sidebar{
    float: none;
    margin: 0 auto;
}

.fancybox-wrap  .fancybox-close{
    background: none;
    font-size: 20px;
    top: -22px;
    right: -39px;

}
.fancybox-wrap  .fancybox-close:before { content: '\2715'; font-family: none; } /* '✕' */



.cosmo-grid-view.massonry{
    /*margin: 0 30px;*/
    max-width: 100%;
}
.row .row{max-width: 100%;}

/* styles for masonry elements */
@media only screen and (min-width : 481px) and (max-width: 767px){
    .no-sidebar  .full-post .cosmo-grid-view.massonry.isotope .massonry-elem,
    .page-template-latest-videos-php .cosmo-thumb-view .massonry-elem{ 
        width: 49.98% !important; 
    }
}
@media only screen and (min-width : 768px) and (max-width: 1070px){
    .no-sidebar  .full-post .cosmo-grid-view.massonry.isotope .massonry-elem,
    .page-template-latest-videos-php .cosmo-thumb-view .massonry-elem{ 
        width: 33.3% !important; 
    }
}
@media only screen and (min-width : 768px) {
    .cosmo-grid-view.massonry .massonry-elem.four.columns{
        width: 33.2% !important; 
    }
}
@media only screen and (min-width : 1071px) and (max-width: 1400px){
    .no-sidebar  .full-post .cosmo-grid-view.massonry.isotope .massonry-elem,
    .page-template-latest-videos-php .cosmo-thumb-view .massonry-elem{ 
        width: 24.97% !important; 
    }
}
@media only screen and (min-width : 1401px) {
    .no-sidebar  .full-post .cosmo-grid-view.massonry.isotope .massonry-elem,
    .page-template-latest-videos-php .cosmo-thumb-view .massonry-elem{ 
        width: 19.96% !important; 
    }
}

@media only screen and (max-width: 480px){ 
    .no-sidebar  .full-post .cosmo-grid-view.massonry.isotope .massonry-elem{
        width: 97% !important;
    }
    .page-template-latest-videos-php .cosmo-thumb-view .massonry-elem{
        width: 100% !important;
    }
}

.page-template-latest-galleries-php  .cosmo-thumb-view.has-gutter{margin: 0px 0px;}
 
@media only screen and (max-width: 767px){
    .column, .columns {
    width: 100% !important;
    float: none;
}     
}


/*---------------------------------scrollbar----------------------------------*/
.frame {
    overflow: hidden;
}
.frame ul {
    font-size: 50px;
    height: 100%;
    list-style: none outside none;
    margin: 0;
    padding: 0;
}
.frame ul li {
    color: #DDDDDD;
    cursor: pointer;
    float: left;
    height: 100%;
    margin: 0 10px 0 0;
    padding: 0;
    text-align: center;
}

.frame ul li.active {
    color: #FFFFFF;
}
.frame ul li.relative img {
    max-height: 100%;
    max-width: none;
    width: auto;
}
.frame ul li:hover .zoom-image {
    opacity: 1;
}

.sly .controls .btn {
    outline: none; outline-width: 0;
}
.scrollbar {
    background: none repeat scroll 0 0 #CCCCCC;
    height: 5px;
    line-height: 0;
}

.single-format-gallery .scrollbar{
    height: 5px;
    margin-top: -6px;
}

.scrollbar .handle {
    background: #000;
    cursor: pointer;
    height: 100%;
    width: 100px;
}
.scrollbar .handle .mousearea {
    height: 20px;
    left: 0;
    position: absolute;
    top: -9px;
    width: 100%;
}
.pages {
    list-style: none outside none;
    margin: 20px 0;
    padding: 0;
    text-align: center;
}
.pages li {
    background: none repeat scroll 0 0 #FFFFFF;
    border-radius: 10px 10px 10px 10px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2) inset;
    cursor: pointer;
    display: inline-block;
    height: 14px;
    margin: 0 4px;
    overflow: hidden;
    text-indent: -999px;
    width: 14px;
}
.pages li:hover {
    background: none repeat scroll 0 0 #AAAAAA;
}
.pages li.active {
    background: none repeat scroll 0 0 #666666;
}
.controls {
    width: 100%;
}
.controls .btn.prev, .controls .btn.next {
    border-radius: 50% 50% 50% 50%;
    cursor: pointer;
    height: 40px;
    position: absolute;
    top: 50%;
    width: 40px;
    margin-top: -20px;
}
.controls .btn.prev {
    margin-left: 5px;
}
.controls .btn.next {
    right: 5px;
}
.single-format-gallery .controls .btn.prev {
    left: 0;
}

.oneperframe {
    height: 300px;
    line-height: 300px;
}
.oneperframe ul li {
    width: 1140px;
}
.oneperframe ul li.active {
    background: none repeat scroll 0 0 #333333;
}


/*---------------------------------EOF scrollbar----------------------------------*/

.flo-lang-switcher{
    position: absolute;
    right: 0px;
    top:40%;
    z-index: 100;
}
.flo-lang-switcher aside{
    display: none;
}
.flo-lang-left{
    width: 30px;
    height: 30px;
    background: #fff;
    position: absolute;
    top: 0px;
    left:-30px;
    cursor: pointer;
    text-align: center;
}
.flo-lang-left i{
    line-height: 30px
}
@media only screen and (max-width : 500px) {
    .sly-img-descr{
        display: none;
    }
}
.sly-img-descr{
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 11;
    font-size: 18px;
    text-align: right;
    width: 315px;
    height: 120px;
}

.sly-img-descr:hover + .img-descr-container{
    display: block;
}
.sly-img-descr:hover>i{
    display: none;
}
.img-descr-container{
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    width: 315px;
    padding: 15px;
    text-align: left;
    display: none;
    background-color: rgba(255,255,255,0.5);
}

.img-descr-container .content-holder{
    float: left;
    width: 255px;
    display: block;
}

.img-descr-container .icon-info{
    float: right;
    width: 20px;
    display: inline-block;
}

.img-descr-container .image-caption{
    font-weight: bold;
}

.img-descr-container .image-description{
    font-weight: normal;
    font-size: 12px;
    margin-top: 10px;
}

.full-hover-link-thumb{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 9;
}

/* BOF WC styles. Some minor styling adjustments to make some elements look OK */

.woocommerce-page .main-container .quantity .minus{ bottom: 12px; }
.woocommerce-page .main-container .quantity input.qty { height: 35px; }
.woocommerce-page .cart-collaterals .cart_totals table{float: right;}
.woocommerce-tabs .panel.entry-content { padding: 10px !important; }
/*EOF WC styles*/

.post-password-required .icon-popup.info-popup.info-popup-show {display:  none; }
.post-password-required .post-password-form { width: 450px; margin: 50px auto; }
.post-password-form input[type="submit"] { margin-left: 0px; }

.single-gallery .sly .main-container{ opacity: 0; }

/*
.flo-mobile .cosmo-thumb-view.title-over section{ left: 0px; top: 0px;  }
*/

/*header search*/

.header-serch{
    display: none;
    position: fixed;
    z-index: 99;
    background-color:  rgba(255,255,255,0.9);
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;

}
.header-serch fieldset {
    width: 300px;
    position: relative;
    margin: 300px auto;
}
@media only screen  and (max-width : 767px) {
    .header-serch fieldset{ width: 200px; position: relative; margin: 70px auto; }  
}
.header-serch #searchform-header button {
        background-color: transparent;
        background: transparent;
        width: 15px;
        height: 27px;
        text-align: left;
        border: 0px;
        position: absolute;
        right: 5px;
        top: 4px;
    }
.header-serch #searchform-header .icon-close{
        position: absolute; right: -14px; top: -14px; font-size: 10px; cursor: pointer;
    }
.header-serch #searchform-header button i{ position: absolute; right: 0px; top: 12px; color: #cfcfcf; font-size: 14px; }
.header-serch #searchform-header input[type="text"]{ height: 45px;  font-size: 20px; }
 

section#main:after {
    clear: both;
    display: block;
    content: '';
}

/* BOF Ninja forms styles */
body .ninja-forms-form-wrap .center-wrap {
  text-align: center; }
body .ninja-forms-form-wrap input[type="text"] {
  margin: 0; }
body .ninja-forms-form-wrap .field-wrap.label-left .ninja-forms-field, body .ninja-forms-form-wrap .field-wrap.label-left .ninja-forms-star-rating-control {
  margin-left: 0px; }
body .ninja-forms-form-wrap input[type="submit"] {
  cursor: pointer;
  background: #F3F3F3;
  color: color;
  padding-top: 12px;
  padding-bottom: 10px;
  font-style: italic;
  margin: 0; }
@media (min-width: 769px) {
  body .ninja-forms-form-wrap .left-wrap {
    float: left;
    padding-right: 0.625rem; }
  body .ninja-forms-form-wrap .right-wrap {
    float: right;
    padding-left: 0.625rem; }
  body .ninja-forms-form-wrap .flo-small-wrap {
    width: 50%; }
  body .ninja-forms-form-wrap .field-wrap:not(.flo-small-wrap) {
    clear: both; } 
}

/* EOF Ninja forms styles */




