/*
 !IMPORTANT: Do not edit this file (so that it will be easier to update the template)!
 Put your css modifications into css/custom.css

 - Document setup
 - Classes
 - Icons
 - Forms
 - Content box
 - Lists
 - Buttons
 - Shadow
 - Pagination
 - Tags list
 - Header
 - Sliders
 - Main content
 - Popover
 - Carousel
 - Portfolio
 - Blog
 - Comments
 - Posts list
 - Twitter widget
 - Flickr widget
 - Tabs
 - Accordion
 - Related post
 - Elements
 - Footer
 */


/************************ Document setup */

@import url(http://fonts.googleapis.com/css?family=Droid+Sans:400,700);
@import url(http://fonts.googleapis.com/css?family=PT+Sans:400,700);

body {
    font-size: 0.9em;
    line-height: 20px;
    font-family: Arial, Helvetica, sans-serif;
    color: #777;
}


h1, h2, h3, h4, h5, h6, .page-info, .call-to-action p {
    font-weight: bold;
    color: #333;
    font-family: 'PT Sans', Arial, Helvetica, sans-serif;
}

h6 {
    text-transform: uppercase;
    letter-spacing: 1px;
}

strong {
    font-weight: bold;
}

#page-title {
    overflow: hidden;
    clear: both;
}

#page-title h1 {
    float: left;
    margin: 0;
    padding: 10px 20px;
    font-size: 38px;
    line-height: 46px;
}

.section-title {
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 18px;
    line-height: 24px;
    padding: 0 0 6px 0;
    border-bottom: 4px solid #007dab;
}

.widget-title {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 20px;
    text-transform: uppercase;
    font-weight: bold;
}


a {
    color: #007dab;
    text-decoration: none;
}

a:hover {
    color: #333;
}

.section {
    position: relative;
    z-index: 1;
    margin-bottom: 60px;
}

.margin0 {
    margin-bottom: 0 !important;
}


.img-container {
    display: block;
    line-height: 0;
    font-size: 0;
}


.sidebar {
    margin-bottom: 20px;
}
    
    .sidebar .widget + .widget {
        padding-top: 25px;
        border-top: 1px solid #eee;
    }

address {
    margin-bottom: 20px;
}


/************************ Classes */

.h-sep-1 {
    clear: both;
    border-bottom: 1px solid #eee;
    height: 5px;
    margin-bottom: 25px;
    width: 100%;
}

.content-page .h-sep-1 {
    padding: 0 35px 0 25px;
    margin-left: -25px;
}


.alignleft {
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
    margin-bottom: 20px;
}

.textcenter {
    text-align: center;
}

.media-wrapper {
    padding: 7px;
    background: #f9f9f9;
    margin-bottom: 20px;
}

.media-wrapper .description {
    font-size: 11px;
    line-height: 16px;
    color: #888;
}

.media-wrapper.alignleft {
    margin-right: 20px;
}


.page-info {
    font-size: 30px;
    line-height: 38px;
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid #eee;
    color: #333;
    font-weight: normal;
}


.call-to-action {
    border: 1px solid #eee;
    padding: 14px;
    overflow: hidden;
    margin-bottom: 20px;
    background-color: #f9f9f9;
}

    .call-to-action p {
        float: left;
        width: 100%;
        margin-bottom: 0;
        font-size: 1.7em;
        line-height: 32px;
        font-weight: normal;
    }
    
    .call-to-action > .button-wrapper {
        background: #f0f0f0;
        float: right;
        padding: 5px;
        border-radius: 3px;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
    }
    
    .call-to-action > .button {
        text-align: center;
    }


/************************ Icons */

.icon-16 {
    display: inline-block;
    position: relative;
    z-index: 2;
    width: 32px;
    height: 32px;
    background-position: center center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.icon-16 + span {
    width: 32px;
    height: 32px;
    background: transparent;
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    cursor: pointer;
}


.icon-16.icon-facebook {
    background-image: url(../img/iconsweets/facebook-16.png);
}

.icon-16.icon-facebook + span {
    background-color: #3b5998;
}

.icon-16.icon-twitter {
    background-image: url(../img/iconsweets/twitter-16.png);
}

.icon-16.icon-twitter + span {
    background-color: #00cffe;
}

.icon-16.icon-google-plus {
    background-image: url(../img/iconsweets/google-plus-16.png);
}

.icon-16.icon-google-plus + span {
    background-color: #dd4b39;
}

.icon-16.icon-skype {
    background-image: url(../img/iconsweets/skype-16.png);
}

.icon-16.icon-skype + span {
    background-color: #00aff0;
}

.icon-16.icon-linkedin {
    background-image: url(../img/iconsweets/linkedin-16.png);
}

.icon-16.icon-linkedin + span {
    background-color: #71C5EF;
}

.icon-16.icon-vimeo {
    background-image: url(../img/iconsweets/vimeo-16.png);
}

.icon-16.icon-vimeo + span {
    background-color: #06b1ff;
}

.icon-16.icon-youtube {
    background-image: url(../img/iconsweets/youtube-16.png);
}

.icon-16.icon-youtube + span {
    background-color: #ce332d;
}


.social-icons-grid {
    overflow: hidden;
}

.social-icons-grid li {
    float: left;
    border: 0 !important;
    position: relative;
    background: #111;
}

.social-icons-grid a {
    padding: 0 !important;
    line-height: 0;
    font-size: 0;
}


/************************ Tables */

.styled-table table {
    width: 100%;
}
    
    .styled-table th, .styled-table td {
        border: 1px solid #e0e0e0;
    }
    
    .styled-table th {
        font-weight: bold;
        padding: 1.5% 2%;
        
        background: #f9f9f9;
        background: -webkit-gradient(linear, left top, left bottom, from(#f9f9f9), to(#f0f0f0));
        background: -moz-linear-gradient(top,  #f9f9f9,  #f0f0f0);
        filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#f0f0f0');
    }
    
    .styled-table td {
        padding: 1.5% 2%;
    }
    
    .styled-table tr:hover td {
        background: #f9f9f9;
    }


/************************ Forms */

.ie7 .form {
    zoom: 1;
}

.form input[type="text"],
.form select,
.form textarea {
    padding: 6px;
    font-family: Arial, Helvetica, sans-serif;
}

.ie7 .content .form-element.half input[type="text"] {
    width: 279px;
}

.ie7 .form-element.full input[type="text"],
.ie7 .form-element.full textarea {
    width: 596px;
}

.form label {
    font-weight: bold;
    color: #333;
}

label.radio,
label.checkbox {
    color: #555;
    font-weight: normal;
}

.form-error {
    color: red;
}

.error label {
    color: red;
}

.error input[type="text"],
.error textarea,
.error select,
.error input[type="text"]:focus,
.error textarea:focus,
.error select:focus {
    border-color: red;
    color: red;
}


/************************ Lists */

.entry ul, .entry ol { margin: 0 0 20px 20px; }
.ie7 .entry ol { margin-left: 23px; }
.entry ul li + li,
.entry ol li + li {
    margin-top: 5px;
}
.entry ul li { list-style: circle outside; }
.entry ol li { list-style: decimal outside; }


.ie7 .list-style1 {
    zoom: 1;
}

.list-style1 li {
    list-style: none;
}

.list-style1 li:first-child {
    border-top: 0;
}

    .list-style1 li a {
        display: block;
        padding: 8px 10px;
        background: url(../img/pointer-right-small-grey.png) no-repeat 95% center;
        color: #888;
        font-weight: bold;
        text-transform: uppercase;
        font-size: 12px;
        line-height: 18px;
    }
    
    .list-style1 li a:hover,
    .list-style1 .active a {
        background-color: #007dab;
        background-image: url(../img/pointer-right-small-white.png);
        color: #fff;
        -webkit-transition: background-color 0.3s;
        -moz-transition: background-color 0.3s;
        transition: background-color 0.3s;
    }
    
    .list-style1 .active a {
        cursor: default;
    }
    
    
.list-style1.dark li {
    border-color: #333;
}

    .list-style1.dark li a {
        color: #ccc;
    }
    
    .list-style1.dark li a:hover,
    .list-style1.dark .active a {
        background-color: #007dab;
        color: #fff;
    }


.widget ul {
    margin-top: -5px;
}

.widget li a {
    display: block;
    padding: 5px 0;
}


/************************ Content box */

.content-box {
    background: #fff;
    padding: 25px 25px 5px 25px;
    *zoom: 1;
}


/************************ Buttons */

.button {
    display: inline-block;
    position: relative;
    z-index: 2;
    padding: 5px 14px;
    background: #e0e0e0 url(../img/button-small.png) repeat-x top;
    border: 1px solid #e0e0e0;
    color: #333;
    cursor: pointer;
    
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.05);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.button:active {
    background-image: none;
}

button.button {
    padding: 0 14px;
    line-height: 29px;
    margin: 0;
}

.button-large {
    padding: 14px 16px;
    font-size: 18px;
}


/* Primary */

.button-primary {
    color: #fff;
    background-color: #007dab;
    border-color: #007dab;
}

.button-primary:hover {
    color: #fff;
    background-color: #007dab;
}

/* Red */

.button-red {
    color: #fff;
    background-color: #E82C0C;
    border-color: #E82C0C;
}

.button-red:hover {
    color: #fff;
    background-color: #E82C0C;
}

/* Green */

.button-green {
    color: #3F701E;
    background-color: #82E83D;
    border-color: #82E83D;
}

.button-green:hover {
    color: #3F701E;
    background-color: #82E83D;
}

/* Yellow */

.button-yellow {
    color: #7F7004;
    background-color: #FFE108;
    border-color: #FFE108;
}

.button-yellow:hover {
    color: #333;
    background-color: #FFE108;
}

/* Orange */

.button-orange{
    color: #fff;
    background-color: #FF7C07;
    border-color: #FF7C07;
}

.button-orange:hover {
    color: #fff;
    background-color: #FF7C07;
}

/* Purple */

.button-purple {
    color: #fff;
    background-color: #C000FF;
    border-color: #C000FF;
}

.button-purple:hover {
    color: #fff;
    background-color: #C000FF;
}

/* Black */

.button-black {
    color: #fff;
    background-color: #333;
    border-color: #333;
}

.button-black:hover {
    color: #fff;
    background-color: #333;
}

/* Brown */

.button-brown {
    color: #fff;
    background-color: #7F643B;
    border-color: #7F643B;
}

.button-brown:hover {
    color: #fff;
    background-color: #7F643B;
}

.button-dark-bg {
    border: 0;
    padding: 4px 9px;
}


/************************ Shadow */

.s-container {
    position: relative;
}

    .s-content {
        position: relative;
        z-index: 2;
    }
    
    .shadow {
        position: absolute;
        z-index: 1;
        left: 6px;
        top: 6px;
        width: 100%;
        height: 100%;
        background: url(../img/black-7.png) repeat;
    }


.shadow-medium,
.shadow-small {
    background: url(../img/shadow.png) no-repeat center top;
    height: 10px;
    width: 100%;
    margin-top: -10px;
}

.content-page + .shadow {
    top: 2px;
    padding-bottom: 5px;
}


/************************ Pagination */

.pager {
    overflow: hidden;
    margin-bottom: 20px;
}

    .pager a,
    .pager span {
        display: block;
        float: left;
        width: 30px;
        height: 30px;
        line-height: 30px;
        text-align: center;
        color: #fff;
        background: #333;
    }
    
    .pager a:hover,
    .pager span {
        background-color: #007DAB;
        color: #fff;
        transition: background-color 0.2s;
        -webkit-transition: background-color 0.2s;
        -moz-transition: background-color 0.2s;
    }
    
    .pager .prev {
        background-image: url(../img/pointer-left-small-white.png);
        background-repeat: no-repeat;
        background-position: center center;
    }
    
    .pager .next {
        background-image: url(../img/pointer-right-small-white.png);
        background-repeat: no-repeat;
        background-position: center center;
    }


/************************ Tags list */

.tags-list li {
    float: left;
    background: #e0e0e0;
}

    .tags-list a {
        display: block;
        padding: 5px 20px 5px 30px;
        background: url(../img/down-pointer-white-small.png) no-repeat 10px center;
        color: #888;
    }
    
    .tags-list a:hover,
    .tags-list .active a {
        background-color: #888;
        color: #fff;
    }


/************************ Header */

#header {
    position: relative;
    z-index: 2;
    margin-bottom: 0;
}

    .header-content {
        position: relative;
        z-index: 4;
        border-top: 10px solid #007dab;
    }
    
    .header-image {
        position: absolute;
        left: 10px;
        top: 0;
        z-index: 1;
        background-repeat: no-repeat;
        background-position: 0 0;
        width: 940px;
        height: 100%;
    }
    
        #logo {
            line-height: 0;
            font-size: 0;
        }


        /* Corners */
        
        #header-corner-l,
        #header-corner-r {
            width: 20px;
            height: 124px;
            position: absolute;
            left: -20px;
            top: -10px;
            background: #fff;
        }
        
        #header-corner-r {
            left: auto;
            right: -20px;
        }
        
            #header-corner-l div,
            #header-corner-r div {
                position: absolute;
                bottom: -20px;
                border-width: 10px;
                border-color: #333 #333 transparent transparent;
                border-style: solid;
                height: 0;
            }
            
            #header-corner-r div {
                border-color: #333 transparent transparent #333;
            }
            
            .dark-bg #header-corner-l div,
            .dark-bg #header-corner-r div {
                border-color: #111 #111 transparent transparent;
            }
            
            .dark-bg #header-corner-r div {
                border-color: #111 transparent transparent #111;
            }
            
        
        /* Shadow */
        
        #header-shadow {
            position: absolute;
            left: 0;
            width: 100%;
            height: 10px;
            background: url(../img/black-7.png) repeat;
        }
        
        .transparent-bg #header-shadow {
            background: url(../img/black-15.png) repeat;
        }
        
        
        #header-social {
            position: absolute;
            z-index: 3;
            right: 0;
            top: 0;
        }
        
            #header-social .popover-trigger {
                line-height: 24px;
                color: #333;
                padding-left: 20px;
                padding-right: 42px;
                background: #fff;
            }
            
            #header-social .popover-trigger:hover,
            #header-social.active .popover-trigger {
                color: #fff;
                background: #007dab;
                transition: background-color 0.2s;
                -webkit-transition: background-color 0.2s;
                -moz-transition: background-color 0.2s;
            }
            
            #header-social .popover {
                width: 100%;
            }
            
            #header-social .popover-inner {
                padding-top: 12px;
                background: #007dab;
            }
            
            .ie7 #header-social .popover-inner {
                zoom: 1;
            }
            
            #header-social ul {
                margin: -5px 0 15px 0;
            }
            
                #header-social li {
                    border-top: 1px solid #33aad6;
                }
                
                #header-social li:first-child {
                    border-top: 0;
                }
                
                    #header-social li a {
                        display: block;
                        position: relative;
                        padding: 0 0 0 42px;
                        min-height: 32px;
                        line-height: 32px;
                        color: #fff;
                    }
                    
                    #header-social li a .icon-16 {
                        position: absolute;
                        margin: 0 5px 0 0;
                        left: 0;
                        top: 0;
                    }
        
        
        /* Nav */
        
        #nav > li > a {
            color: #333;
            font-family: 'PT Sans', sans-serif;
        }
        
        #nav > li > a:hover,
        #nav > .current-menu-item > a {
            color: #007dab;
        }


/************************ Sliders */

#header-slider {
    position: relative;
    z-index: 1;
}


/* r-slider */

.main-slider {
    background: #333;
}

.r-slider {
    overflow: hidden;
    width: 100%;
}

.r-slider-inner {
    width: 20000px;
}

.r-slide {
    position: relative;
    float: left;
    line-height: 0;
    font-size: 0;
}

    .r-slide img {
        width: 100%;
        height: auto;
    }
    
    .r-slide iframe {
        position: absolute;
        width: 100% !important;
        height: 100% !important;
        left: 0;
        top: 0;
    }
    
.r-slider-controls {
    position: absolute;
    z-index: 3;
    right: -32px;
    bottom: -32px;
    width: 107px;
    height: 57px;
    background: url(../img/slider-nav.png) no-repeat 0 0;
}

    .r-slider-controls a {
        display: block;
        float: left;
        width: 50px;
        height: 50px;
        line-height: 0;
        font-size: 0;
        text-indent: -9999px;
        background: #333 url(../img/slider-nav.png) no-repeat 0 0;
    }
    
    .dark-bg .r-slider-controls,
    .dark-bg .r-slider-controls a {
        background-image: url(../img/slider-nav-dark.png);
    }
    
    .r-slider-controls a:hover {
        background-color: #007DAB;
        transition: background-color 0.2s;
        -webkit-transition: background-color 0.2s;
        -moz-transition: background-color 0.2s;
    }
    
    .r-slider-controls a + a {
        background-position: -50px 0;
    }
    

.r-slider-points {
    position: absolute;
    z-index: 4;
    left: 0;
    bottom: -24px;
}

    .r-slider-points a {
        display: block;
        float: left;
        width: 16px;
        height: 17px;
        line-height: 0;
        font-size: 0;
        text-indent: -9999px;
        background: url(../img/r-slider-points.png) no-repeat 0 0;
    }
    
    .r-slider-points a + a {
        margin-left: 8px;
    }
    
    .r-slider-points .r-slider-current {
        background-position: -16px 0;
    }


.r-slide .description,
.slider-description-inner {
    background: #333;
    color: #fff;
}

.slider-description {
    display: none;
    position: relative;
    z-index: 2;
}

.slider-description-inner .s-content {
    padding: 15px;
}

.r-slide .description {
    position: absolute;
    max-width: 40%;
    left: 25px;
    bottom: 25px;
}

.r-slide .description .s-content {
    padding: 25px;
}

    .r-slide .description h1,
    .slider-description-inner h1 {
        color: #fff;
        font-size: 20px;
        line-height: 26px;
    }
    
    .r-slide .description p,
    .slider-description-inner p {
        margin-bottom: 0;
        font-size: 14px;
        line-height: 22px;
    }
    
    .r-slide .description p + p,
    .slider-description-inner p + p {
        margin-top: 10px;
    }
    
    #header-slider .r-slide .description a,
    .slider-description-inner a {
        color: #fff;
        text-decoration: underline;
    }
    
    #header-slider .r-slide .description a:hover,
    .slider-description-inner a:hover {
        text-decoration: none;
        color: #fff;
    }
    
    #header-slider .r-slide .description h1 a,
    #header-slider .slider-description-inner h1 a {
        text-decoration: none;
    }


.main-slider .video-container {
    position: absolute;
    left: 0;
    right: 0;
    top: 124px;
    bottom: 0;
}

.main-slider .slide-video .description {
    display: none;
    bottom: 60px;
}


.media-widget {
    position: relative;
    margin-bottom: 50px;
    *zoom: 1;
}

.media-widget .r-slider-controls {
    bottom: -30px;
    right: 0;
    width: 60px;
    height: 30px;
    background: none;
    display: block;
}

    .media-widget .r-slider-controls a {
        width: 30px;
        height: 30px;
        background: #333 url(../img/pointer-left-small-white.png) no-repeat center center;
    }
    
    .media-widget .r-slider-controls a + a {
      background: #333 url(../img/pointer-right-small-white.png) no-repeat center center;
    }
    
    .media-widget .r-slider-controls a:hover {
        background-color: #007DAB;
        transition: background-color 0.2s;
        -webkit-transition: background-color 0.2s;
        -moz-transition: background-color 0.2s;
    }

.media-widget .r-slider-points {
    display: none;
}


.media-widget .description {
    z-index: 3;
    padding: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    background: #fff;
}

.media-widget .description.top {
    bottom: auto;
    top: 0;
}

    .media-widget .description h2 {
        margin: 0;
        font-weight: normal;
        font-size: 14px;
        line-height: 20px;
        color: #fff;
    }
    
    .media-widget .description h2 a, .media-widget .description h2 span {
        display: block;
        padding: 12px 15px;
        color: #fff;
    }


.media-widget .r-slide {
    position: relative;
}

.media-widget-audio-bg {
    position: absolute;
    z-index: 2;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #f5f5f5 url(../img/iconsweets/gkey-64.png) no-repeat center 40%;
}

.media-widget .jp-audio {
    position: absolute;
    z-index: 3;
    left: 0;
    bottom: 0;
}

.media-description {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 15px;
    background-color: #f5f5f5;
    color: #888;
    line-height: 20px;
}

.media-description h2 {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 20px;
}

.media-description p {
    margin: 10px 0 0 0;
}


/************************ Popover */

.popover-container {
    position: relative;
}

    .popover-trigger {
        position: relative;
        display: inline-block;
        padding: 0 30px 0 0;
    }
    
    .popover-trigger-box {
        display: block;
        width: 24px;
        height: 24px;
        background: #007dab url(../img/down-pointer-white-small.png) no-repeat center center;
    }
    
    .popover-trigger-box + .shadow {
        width: 24px;
        height: 24px;
        top: 4px;
        right: -4px;
        left: auto;
    }
    
        .popover-trigger .popover-trigger-box {
            position: absolute;
            z-index: 2;
            right: 0;
            top: 0;
        }

    /*.popover-container:hover .popover {
        display: block;
    }*/

    .popover {
        display: none;
        position: absolute;
        left: 0;
        top: 24px;
    }

        .popover-inner {
            padding: 20px 20px 0 20px;
            background: #fafafa;
        }
        
        .popover .shadow {
            left: 4px;
            top: 4px;
        }


/************************ Main content */

#main-content {}


/************************ Carousel */

.dm3-carousel {
    position: relative;
    margin-bottom: 20px;
}

.dm3-carousel ul {
    margin: 0 ;
}

.dm3-carousel li {
    float: left;
    width: 160px;
    height: 100px;
    padding: 5px;
    background-color: #f0f0f0;
    margin-right: 10px;
}

.dm3-carousel li:hover {
    background-color: #007DAB;
    -webkit-transition: background-color 0.3s;
    -moz-transition: background-color 0.3s;
    transition: background-color 0.3s;
}

    .dm3-carousel li img {
        display: block;
    }

    .dm3-carousel-controls {
        position: absolute;
        z-index: 3;
        bottom: -57px;
        right: -57px;
        width: 107px;
        height: 57px;
        background: url(../img/slider-nav.png) no-repeat 0 0;
    }

    .dm3-carousel-controls > span {
        display: block;
        float: left;
        width: 50px;
        height: 50px;
        line-height: 0;
        font-size: 0;
        cursor: pointer;
        text-indent: -9999px;
        background: #333 url(../img/slider-nav.png) no-repeat 0 0;
    }
    
    .dark-bg .dm3-carousel-controls,
    .dark-bg .dm3-carousel-controls > span {
        background-image: url(../img/slider-nav-dark.png);
    }
    
    .dm3-carousel-controls > span:hover {
        background-color: #007DAB;
        transition: background-color 0.2s;
        -webkit-transition: background-color 0.2s;
        -moz-transition: background-color 0.2s;
    }
    
    .dm3-carousel-controls span + span {
        background-position: -50px 0;
    }
    

/************************ Portfolio */

.portfolio-item {
    position: relative;
    margin-bottom: 20px;
    line-height: 0;
    *zoom: 1;
}


.portfolio-2-columns > .s-container {
    float: left;
    margin-left: 50px;
    margin-bottom: 50px;
    width: 420px;
}

.portfolio-2-columns .portfolio-tags {
    margin-bottom: 50px;
}

.portfolio-3-columns > .s-container {
    float: left;
    margin-left: 25px;
    margin-bottom: 20px;
    width: 280px;
}

.portfolio-3-columns .portfolio-tags {
    margin-bottom: 20px;
}

.content-page.portfolio-3-columns .portfolio-tags,
.content-page.portfolio-3-columns > .s-container {
    margin-bottom: 30px;
}

.portfolio-4-columns > .s-container {
    float: left;
    margin-left: 18px;
    margin-bottom: 20px;
    width: 209px;
}

.content-page.portfolio-4-columns > .s-container,
.content-page.portfolio-4-columns .portfolio-tags {
    margin-bottom: 30px;
}

.portfolio-columns > .s-container.first {
    margin-left: 0;
}

.portfolio-columns > .s-container .portfolio-item {
    margin-bottom: 0;
}


.portfolio-columns .media-description {
    margin-bottom: 0;
}

.portfolio-item .img-container {
    position: relative;
    margin-bottom: 0;
}

.portfolio-item .img-container img {
    width: 100%;
    height: auto;
}

.portfolio-description {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: 0;
    color: #888;
    line-height: 20px;
}

.portfolio-description h2 {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 20px;
    font-weight: normal;
    color: #fff;
}

.portfolio-description h2 a, .portfolio-description h2 span {
    display: block;
    padding: 12px 15px;
    color: #fff;
}


.portfolio-columns .media-widget {
    margin-bottom: 10px;
}


/************************ Blog */

.entry {
    margin-bottom: 0;
}

.entry + .entry {
    margin-top: 40px;
    margin-bottom: 40px;
}

.entry-image {
    margin-bottom: 0;
    border-bottom: 5px solid #eee;
}

    .entry-image img {
        width: 100%;
        height: auto;
    }

.entry-date {
    float: left;
    width: 75px;
    height: 81px;
    padding: 5px 0 0 0;
    background: url(../img/date-bg.png) no-repeat 0 0;
    border-top: 5px solid #007dab;
}

.entry-image + .entry-date {
    position: relative;
    top: -5px;
}

.entry-image ~ .entry-title {
    margin-top: 20px;
}

    .entry-date .day {
        display: block;
        font-weight: bold;
        color: #bbb;
        text-align: center;
        font-size: 48px;
        line-height: 50px;
    }
    
    .entry-date .month {
        display: block;
        color: #bbb;
        text-transform: uppercase;
        text-align: center;
        font-size: 10px;
        line-height: 12px;
    }


.entry-body {
    margin-left: 100px;
}


.entry-title {
    position: relative;
    top: -6px;
    margin-bottom: 5px;
    margin-left: 100px;
}


.entry-meta {
    padding: 5px 0 0 0;
    border-top: 1px dashed #eee;
}

.entry-title + .entry-meta {
    margin-left: 90px;
    margin-bottom: 20px;
}

.entry-meta span {
    margin-right: 15px;
}

.entry-meta a {
    color: #888;
}

.entry-meta a:hover {
    color: #333;
}

.entry-meta .author {
    padding-left: 22px;
    background: url(../img/iconsweets/users-16.png) no-repeat 0 center;
}

.entry-meta .category {
    padding-left: 22px;
    background: url(../img/iconsweets/category-16.png) no-repeat 0 center;
}

.entry-meta .comments {
    padding-left: 22px;
    background: url(../img/iconsweets/comments-16.png) no-repeat 0 center;
}


/************************ Comments */

ol.comments {
    margin-left: 0;
    border-top: 1px dashed #eee;
}

.ie7 ol.comments,
.ie7 ol.comments ol {
    zoom: 1;
}

li.comment {
    list-style: none!important;
}

.comment-wrap {
    padding: 20px 0 0 0;
    border-bottom: 1px dashed #eee;
}

.comment .avatar {
    float: left;
    padding: 5px;
    margin-bottom: 10px;
    border: 1px solid #eee;
}

.comment-meta,
.comment-body {
    margin-left: 70px;
}

.comment-meta {
    margin-bottom: 10px;
}

    .comment-meta > span {
        display: block;
    }
    
        .comment-meta > span i {
            font-weight: normal;
            margin-right: 5px;
            color: #888;
        }

.comment-reply {
    font-weight: bold;
}

.comment ol li {
    padding-left: 30px;
}


/************************ Posts list */

.widget .posts-list {
    margin: 0 0 20px 0;
}

.posts-list li {
    clear: both;
    overflow: hidden;
}

.posts-list li + li {
    margin-top: 20px;
}

.posts-list .image {
    float: left;
    padding: 5px;
    border: 1px solid #eee;
    background: #fff;
    line-height: 0;
    font-size: 0;
}

.posts-list .image + .description {
    margin-left: 66px;
    min-height: 40px;
}

    .posts-list .description p {
        margin: 0;
        color: #999;
    }

.posts-list .title {
    font-weight: bold;
    display: block;
    position: relative;
}

.widget .posts-list .title {
    padding: 0;
}


/************************ Twitter widget */

.widget .twitter-widget ul {
    margin: 0 0 20px 0;
}

.twitter-widget li {
    list-style: none outside none;
    padding: 10px 10px 10px 45px;
    background: #fff url(../img/iconsweets/twitter-64.png) no-repeat -24px 10px;
    border: 1px solid #eee;
}

.twitter-widget li + li {
    margin-top: 20px;
}

.twitter-widget li a {
    display: inline;
    font-weight: bold;
}


/************************ Flickr widget */

.flickr-widget ul {
    margin-left: -10px;
    overflow: hidden;
}

.flickr-widget li {
    float: left;
    margin: 0 0 10px 10px;
}

.flickr-widget li a {
    padding: 5px;
    display: block;
    border: 1px solid #eee;
    background-color: #fff;
    line-height: 0;
    font-size: 0;
}

.flickr-widget li a img {
    width: 58px;
    height: auto;
}


/************************ Tabs */

.tabs-nav-h {
    overflow: hidden;
    position: relative;
    z-index: 1;
    margin: 0 0 -1px 0 !important;
}

    .tabs-nav-h li {
        list-style: none outside none !important;
        float: left;
        margin: 0 -1px 0 0 !important;
    }
    
    .tabs-nav-h li a {
        display: block;
        padding: 8px 15px;
        border: 1px solid #eee;
        background-color: #fafafa;
        font-weight: bold;
    }
    
    .tabs-nav-h .active a {
        border-bottom-color: #fff;
        color: #333;
        background-color: #fff;
    }


.tabs {
    width: 100%;
    margin-bottom: 20px;
    background-color: #fff;
}

.vertical-tabs {
    margin-bottom: 0;
}

    .tabs .tab-inner {
        padding: 20px 14px 0 14px;
        border: 1px solid #eee;
    }


/************************ Accordion */

.accordion {
  margin-bottom: 20px;
}

.accordion-group {
  margin-bottom: 2px;
  border: 1px solid #e5e5e5;
}

.accordion-heading {
  border-bottom: 0;
}

.accordion-heading .accordion-toggle {
  display: block;
  padding: 8px 15px;
  font-size: 12px;
  font-weight: bold;
  background: #fafafa;
  cursor: pointer;
}

.ie7 .accordion-heading .accordion-toggle {
    zoom: 1;
}

.accordion-toggle.active {
  color: #333;
  font-weight: bold;
}

.accordion-inner {
  padding: 9px 15px;
  border-top: 1px solid #e5e5e5;
}

.accordion-body.collapse {
    position: relative;
    height: 0;
    overflow: hidden;
    -webkit-transition: height 0.3s;
       -moz-transition: height 0.3s;
         -o-transition: height 0.3s;
            transition: height 0.3s;
}

.accordion-body.in {
    height: auto;
}


/************************ Related post */

.related-post {
    overflow: hidden;
}

.related-post .img-container {
    float: left;
    padding: 5px;
    border: 1px solid #eee;
    background-color: #fafafa;
}

.related-post .img-container img {
    width: 80px;
    height: auto;
}

.related-post .title,
.related-post p {
    margin-left: 106px;
}

.related-post .title {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 20px;
}


/************************ Elements */

/* Blockquote */

blockquote { padding: 0 20px 0 20px; border-left: 1px solid #eee; margin-left: 20px;
    color: #777; font-style: italic; font-size: 14px; line-height: 22px; }
.bq-meta { margin-left: 41px; margin-bottom: 20px; }
.bq-author { display: block; }
.bq-title { color: #777; }


/* Dropcaps */

.dropcap1 { float: left; display: block; margin: 0 10px 0 0; font-size: 40px; line-height: 40px; }
.dropcap2 { float: left; display: block; margin: 2px 10px 0 0; font-size: 26px; line-height: 35px;
    text-align: center; background: #eee; width: 35px; }


/* Pullquote */

.pullquote-left, .pullquote-right { font-size: 11px; color: #777; width: 28%; }
.pullquote-left { float: left; margin: 0 20px 20px 0; padding: 0 20px 0 0; border-right: 1px solid #eee; }
.pullquote-right { float: right; margin: 0 0 20px 20px; padding: 0 0 0 20px; border-left: 1px solid #eee; }


/* Lists */

ul.plus-list, ul.tick-list, ul.arrow-list, ul.delete-list { margin-left: 0;
    margin-bottom: 15px; }

ul.plus-list li { background: url(../img/lists/plus_16.png) no-repeat 0 0; list-style: none;
    padding-left: 26px; margin-bottom: 5px; }
    
ul.tick-list li { background: url(../img/lists/tick_16.png) no-repeat 0 0; list-style: none;
    padding-left: 26px; margin-bottom: 5px; }

ul.arrow-list li { background: url(../img/lists/right_16.png) no-repeat 0 0; list-style: none;
    padding-left: 26px; margin-bottom: 5px; }
    
ul.delete-list li { background: url(../img/lists/delete_16.png) no-repeat 0 0; list-style: none;
    padding-left: 26px; margin-bottom: 5px; }


/* Toggle */

.toggles { padding-bottom: 15px; }
.toggle { margin-bottom: 20px; overflow: hidden; position: relative; }
.toggles .toggle { margin-bottom: 5px; }
.toggle-box { border: 1px solid #eee; }
.toggle-header { margin: 0; padding: 8px 15px; cursor: pointer; font-size: 12px;
    border: 1px solid #eee; background-color: #fafafa; line-height: 20px; font-family: Arial, Helvetica, sans-serif; }
.toggle-box { padding: 20px 14px 0 14px; border-top: none; }
.toggle-header:after { content: '+'; float: right; font-weight: bold; font-size: 14px; }
.toggle-open:after { content: '-'; }


/* Message boxes */

.msg-box { padding: 19px 19px 19px 54px; border: 1px solid; background: no-repeat 19px 19px;
    margin-bottom: 20px; position: relative; }
    
.ie7 .msg-box { zoom: 1; }

.msg-close-button {
    position: absolute;
    right: 10px;
    top: 7px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    line-height: 16px;
}

.msg-error { background-image: url(../img/message-boxes/delete_16.png); border-color: #FFAFAF;
    background-color: #FFDFDF; color: #9F1D1D; }
    
.msg-warning { background-image: url(../img/message-boxes/warning_16.png); border-color: #FFE25F;
    background-color: #FFF6CF; color: #5F4F06; }
    
.msg-success { background-image: url(../img/message-boxes/tick_16.png); border-color: #A2EF68;
    background-color: #D1FFAF; color: #274F0A; }
    
.msg-info { background-image: url(../img/message-boxes/info_16.png); border-color: #86DDEF;
    background-color: #CFF7FF; color: #0A434F; }


#google-map {
    margin-bottom: 20px;
    width: 100%;
}


#scroll-to-top {
    right: 15px;
    bottom: 15px;
    position: fixed;
    z-index: 10;
}

    #scroll-to-top a {
        display: block;
        position: relative;
        z-index: 2;
        width: 40px;
        height: 40px;
        background: #333 url(../img/pointer-white-up.png) no-repeat center center;
    }

    #scroll-to-top a:hover {
        background-color: #007DAB;
        transition: background-color 0.2s;
        -webkit-transition: background-color 0.2s;
        -moz-transition: background-color 0.2s;
    }


/************************ Footer */

#footer {
    margin-bottom: 0;
    padding: 40px 0 0 0;
    background: #222 url(../img/footer-bg.png) repeat;
    border-top: 4px solid #007DAB;
    color: #777;
    border-bottom: 1px solid #222;
    *zoom: 1;
}

.ie7 #footer .grid-12 > .s-content {
    zoom: 1;
}

#footer a,
#footer-2 a {
    color: #999;
    text-decoration: underline;
}

#footer a:hover,
#footer-2 a:hover {
    color: #fff;
}

    #footer .widget-title {
        padding-bottom: 10px;
        color: #fff;
        border-bottom: 4px solid #444;
    }


#footer .widget {
    padding-bottom: 25px;
}

#footer .widget li {
    border-top: 1px solid #444;
}

#footer .widget li:first-child {
    border-top: 0;
}

#footer .widget li a {
    color: #777;
    text-decoration: none;
}

#footer .widget li a:hover {
    color: #fff;
}


#footer .form-element {
    margin-bottom: 10px;
}

#footer .form input[type="text"],
#footer .form select,
#footer .form textarea {
    background-color: #111;
    color: #777;
    border-color: #444;
    border-top: 0;
    padding: 7px;
}

.ie7 #footer .form input[type="text"],
.ie7 #footer .form textarea {
    width: 205px;
}

#footer .form input[type="text"]:focus,
#footer .form textarea:focus {
    color: #fff;
}


#footer-tweet {
    position: relative;
    background: #111;
    padding: 36px 0;
    margin: -40px 0 40px 0;
    font-size: 24px;
    line-height: 34px;
    border-bottom: 1px solid #222;
    text-align: center;
}

    #footer-tweet .line-bottom,
    #footer-tweet .line-top {
        background: url(../img/dashed-line-white.png) repeat-x 0 0;
        position: absolute;
        left: 0;
        bottom: 10px;
        width: 100%;
        height: 1px;
    }
    
    #footer-tweet .line-top {
        bottom: auto;
        top: 10px;
    }

    #footer-tweet ul {
        margin-bottom: 0;
    }


#footer .r-slide .description {
    background: #333;
}

    #footer .r-slide .description a {
        text-decoration: none;
        color: #fff;
    }


#footer-2 {
    background: #111 url(../img/shadow-footer.png) no-repeat center top;
    padding: 25px 0;
    margin-bottom: 0;
}

#footer-nav a {
    text-decoration: none;
}


/* Services */

.circle-column {
    float: left;
    margin-left: 25px;
    margin-bottom: 40px;
    width: 280px;
}

.circle-column.first {
    margin-left: 0;
}

.circle-frame {
    display: block;
    position: relative;
    width: 100%;
    margin-bottom: 25px;
    overflow: hidden;
    line-height: 0;
    font-size: 0;
}

    .circle-frame > img {
        width: 100%;
        height: auto;
    }

    .circle-frame > .circle {
        display: block;
        position: absolute;
        z-index: 3;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        *zoom: 1;
    }
    
    .greyscale-img,
    .greyscale-img img,
    .greyscale-img canvas {
        position: absolute;
        z-index: 2;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
    }
    
    
.circle-column .description {
    text-align: center;
}

    .circle-column .description p {
        font-size: 16px;
        line-height: 24px;
    }


@media only screen and (min-width: 768px) and (max-width: 959px) {
    .portfolio-2-columns > .s-container {
        width: 319px;
        margin-left: 30px;
        margin-bottom: 50px;
    }
    
    .portfolio-3-columns > .s-container {
        width: 220px;
        margin-left: 18px;
        margin-bottom: 18px;
    }
    
    .portfolio-4-columns > .s-container {
        width: 164px;
        margin-left: 14px;
        margin-bottom: 30px;
    }
    
    .circle-column {
        width: 220px;
        margin-left: 18px;
    }
}


@media only screen and (max-width: 767px) {
    .content-page .h-sep-1 {
        padding-right: 25px;
    }
    
    #page-title h1 {
        font-size: 24px;
        line-height: 30px;
    }
    
    #header-slider .description {
        width: 250px;
    }
    
    .main-slider .video-container {
        top: 0;
    }
    
    .portfolio-columns > .s-container {
        width: 100%;
        margin-left: 0;
    }
    
    .circle-column {
        width: 100%;
        margin-left: 0;
    }
    
    .entry-title {
        font-size: 20px;
        line-height: 26px;
        margin-left: 90px;
        top: -12px;
        margin-bottom: 0;
    }
    
    .entry-body {
        clear: both;
        margin-left: 0;
    }
    
    .comment-body {
        clear: both;
        margin-left: 0;
    }
    
    .tabs-nav-h li {
        float: none;
        margin: 0 !important;
    }
    
    .tabs-nav-h li + li a {
        border-top: 0;
    }
    
    .tabs-nav-h .active a {
        border-bottom: 1px solid #eee;
    }
    
    
    .call-to-action p {
        float: none;
        width: auto;
        margin-bottom: 20px;
    }
    
    .call-to-action .button-wrapper {
        display: inline-block;
        float: none;
    }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
    #header-slider .description {
        width: 370px;
    }
}