/*
Theme Name: Twenty Nineteen Child
Theme URI: https://github.com/WordPress/twentynineteen
Template: twentynineteen
Author: the WordPress team
Author URI: https://wordpress.org/
Description: Our 2019 default theme is designed to show off the power of the block editor. It features custom styles for all the default blocks, and is built so that what you see in the editor looks like what you'll see on your website. Twenty Nineteen is designed to be adaptable to a wide range of websites, whether you’re running a photo blog, launching a new business, or supporting a non-profit. Featuring ample whitespace and modern sans-serif headlines paired with classic serif body text, it's built to be beautiful on all screen sizes.
Requires at least: WordPress 4.9.6
Version: 1.4.13
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: twentynineteen
Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Twenty Nineteen is based on Underscores https://underscores.me/, (C) 2012-2018 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

@import url('https://fonts.googleapis.com/css?family=Raleway:300,400,600,700');

body {
    color: #313130;
    font-size: 16px;
}
 
@media only screen and (min-width: 768px) {
    body {
        font-size: 18px;
    }
}

a,
a:visited {
    color: #4abcc8;
    text-decoration: underline;
}

a:hover {
    color: #4abcc8;
}

a:hover,
.social-media a{
    text-decoration: none;
}

.has-small-font-size {
    font-size: 14px;
}

.author-description .author-link, .comment-metadata, .comment-reply-link, .comments-title, .comment-author .fn, .discussion-meta-info, .entry-meta, .entry-footer, .main-navigation, .no-comments, .not-found .page-title, .error-404 .page-title, .post-navigation .post-title, .page-links, .page-description, .pagination .nav-links, .sticky-post, .site-title, .site-info, #cancel-comment-reply-link, h1, h2, h3, h4, h5, h6, body {
    font-family: "Raleway";
}

.page .entry-title {
    font-size: 2em;
    margin-top: -50px;
}

.page h1.entry-title {
    text-shadow: 0 0 6px #0007;
    hyphens: none;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
}

.wpforms-submit-container {
    text-align: center;
}

div.wpforms-container-full .wpforms-form button[type=submit].wpforms-submit {
    border-radius: 35px;
    border-width: 0px;
    color: white;
    background-color: #f38b00;
    font-weight: normal;
    padding: 17px 26px;
    line-height: 0.6;
}

div.wpforms-container-full .wpforms-form button[type=submit].wpforms-submit:hover {
    border-width: 0px;
    color: white;
    background-color: #f38b00cc;
}

.wpforms-title, h2, h3, h4 {
    font-weight: normal;
    font-size: 1.5em;
}

h2.agx-h2-white, .wpforms-title.agx-h2-white {
	color: #f5f5f5;
}

h3, .wpforms-title {
    color: #4abcc8;
}

h4 {
	/* color: #f5f5f5;  2020-04-21 replaced by h2.agx-h2-white /Hugo */
}

h5, .wpforms-title {
	font-weight: normal;
	color: #666666;
	 font-size: 1em;
   	/*line-height: 1.5;*/
	
}
h6, .wpforms-title  {
	 font-size: 1.1em;
	
	
}

.anchor-link {
    position: relative;
    top: -110px;
}



@media only screen and (min-width: 768px) {
    .page .entry-title {
        font-size: 1.55em;
      	margin-top: 30px;
    }
    
    .wpforms-title, h2, h3 {
        font-size: 1.1em;
    }
	
	h4, h5, h6 {
        font-size: 1em;
    }
}

@media only screen and (min-width: 1025px) {
    .page .entry-title {
        font-size: 2.19em;
        margin-top: 15px;
    }
    
    .wpforms-title, h2, h3 {
        font-size: 1.5em;
    }
	
	h4, h5, h6 {
        font-size: 1.3em;
    }
}

@media only screen and (min-width: 1400px) {
    .page .entry-title {
        font-size: 3em;
        margin-top: 0px;
    }
    
    .wpforms-title, h2, h3 {
        font-size: 1.9em;
    }
    h4 {
        font-size: 1.5em;
    }
	.wpforms-title, h5, h6 {
        font-size: 1.3em;
    }
}

.entry .entry-content .wp-block-image {
    text-align: center;
}

.entry .entry-content .wp-block-image a {
    padding: 10px 20px;
    color: #313130;
    display: inline-block;
}

/*
.entry .entry-content .wp-block-image figcaption {
    color: #313130;
    border-color: #31313022;
    border-width: 1px;
    border-style: solid;
    font-weight: normal;
    font-size: 18px;
    border-radius: 35px;
    padding: 0;
    margin: 0;
    display: inline-block;
}

.entry .entry-content .wp-block-image figcaption:hover {
    background-color: #31313022;
}

.entry .entry-content .wp-block-image a,
.entry .entry-content .wp-block-image figcaption {
    text-decoration: none;
    font-size: 18px;
    color: #313130;
}


*/

.entry .entry-content .wp-block-image figcaption {
    text-decoration: none;
    font-size: 16px;
	font-family: raleway;
	font-style:italic;
}

.entry .entry-content .link-buttons .wp-block-uagb-icon-list {
    color: #313130;
    border-color: #31313022;
    border-width: 1px;
    border-style: solid;
    font-weight: normal;
    font-size: 18px;
    border-radius: 5px;
    padding: 0;
    padding-left: 10px;
    padding-right: 10px;
    margin: 0;
    display: inline-block;
    width: 100%;
}

.entry .entry-content .link-buttons .uagb-icon-list__wrap > .uagb-icon-list-repeater-0,
.entry .entry-content .link-buttons .uagb-icon-list__label-wrap .uagb-icon-list-repeater-0 {
    display: none;
}

.entry .entry-content .link-buttons .wp-block-uagb-icon-list:hover {
    background-color: #31313022;
}

.entry .entry-content .link-buttons .wp-block-uagb-icon-list a,
.entry .entry-content .link-buttons .wp-block-uagb-icon-list .uagb-icon-list__label-wrap,
.entry .entry-content .link-buttons .wp-block-uagb-icon-list .uagb-icon-list__label-wrap {
    text-decoration: none;
    font-size: 18px;
    color: #313130;
}

/*
body, html {
    font-size: 18px;
}
*/

.entry .entry-content > *,
.entry .entry-content > *.aligncenter,
.entry .entry-summary > *,
.entry .entry-summary > *.aligncenter {
    width: 100%;
    max-width: 100%;
}

.entry .entry-content > *,
.entry .entry-content > *.aligncenter,
.entry .entry-summary > *, 
.entry .entry-summary > *.aligncenter {
    margin-left: auto;
    margin-right: auto;
    clear: both;
}

.entry .entry-content .wp-block-image .aligncenter {
    width: 100%;
    margin: 0 auto;
}

.entry .entry-content .wp-block-image .aligncenter > img {
    margin: 0 auto;
}

.entry .entry-content .wp-block-image .aligncenter > a {
    display: block;
}

@media only screen and (min-width: 768px) {
    .entry .entry-content > *,
    .entry .entry-content > *.aligncenter,
    .entry .entry-summary > *,
    .entry .entry-summary > *.aligncenter {
        width: 100%;
        max-width: 100%;
    }

    .entry .entry-content > *,
    .entry .entry-content > *.aligncenter,
    .entry .entry-summary > *, 
    .entry .entry-summary > *.aligncenter {
        margin-left: auto;
        margin-right: auto;
        clear: both;
    }
}

.divider-border-top {
	border-top: 2px solid #999999;
	

}

.box-shadow {
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

/* .home */
.home.page .entry-header {
    top: 430px;
}

.home.admin-bar.page .entry-header {
    top: 480px;
}

@media only screen and (min-width: 768px) {
    .home.page .entry-header {
        top: 428px;
    }

    .home.admin-bar.page .entry-header {
        top: 460px;
    }
}

.home.page .entry-header h1.entry-title {
    color: #313130;
    text-shadow: none;
    font-size: 34px;
    font-weight: normal;
    margin-top: 0px;
}

.agx-carousel.uagb-post-grid.alignfull {
    margin-top: 0 !important;
    padding: 0;
    padding-bottom: 100px;
}

.agx-carousel .uagb-post__items:not(.slick-initialized) {
    height: 385px;
    overflow: hidden;
}

.agx-carousel .uagb-post__items:not(.slick-initialized) article:not(:first-child) {
    display: none;
}

@media only screen and (min-width: 700px) {
    .agx-carousel.uagb-post-grid.alignfull {
        padding-bottom: 65px;
    }
}

.agx-carousel + .wp-block-columns > .wp-block-column > * {
    height: 100%;
}
.agx-carousel .slick-list .uagb-post__image {
    position: relative;
    height: 385px;
    overflow: hidden;
}

.agx-carousel .slick-list .uagb-post__image:before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: linear-gradient(to left, rgba(0,0,0,0), rgba(0,0,0,0.8) 100%);
    background-color: rgba(0, 0, 0, 0);
    width: 90%;
    height: 100%;
    opacity: 1;
}

.agx-carousel .slick-track {
    line-height: 0;
}

.agx-carousel .slick-track .slick-slide > div > article {
    line-height: 1.7;
}

.agx-carousel .uagb-post__items .uagb-post__cta {
    position: static;
    transform: none;
    margin-top: 10px;
}

.agx-carousel .uagb-post__items .uagb-post__cta .uagb-post__link {
    font-weight: normal;
}

.agx-carousel .uagb-post__items .uagb-post__text {
    text-align: left !important;
    position: absolute;
    top: 70px;
    z-index: 2;
    width: 90vw;
    margin-left: 22px;
    margin-right: 22px;
}

.agx-carousel .uagb-post__text .uagb-post__title,
.agx-carousel .uagb-post__text .uagb-post__excerpt {
    text-shadow: 0 0 6px #000c;
}

.agx-carousel .uagb-post__text .uagb-post__title {
    font-size: 1.7em;
    font-weight: 700;
}

.agx-carousel .uagb-post__text .uagb-post__title a {
    transition: none;
}

.agx-carousel .uagb-post__inner-wrap .uagb-post__text .uagb-post__excerpt {
    font-size: 1.1em;
    margin-top: 15px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.agx-carousel.uagb-post-grid .uagb-post__image img {
    width: auto;
    height: 100%;
    object-fit: cover;
}

@media only screen and (min-width: 768px) {
    .agx-carousel .uagb-post__inner-wrap .uagb-post__text .uagb-post__title {
        font-size: 1.8em;
    }

    .agx-carousel .uagb-post__inner-wrap .uagb-post__text .uagb-post__excerpt {
        font-size: 1.2em;
    }

    .agx-carousel .uagb-post__items .uagb-post__text {
        margin-left: calc(1% + 105px);
        margin-right: calc(1% + 105px);
        width: 75vw;
    }
}

@media only screen and (min-width: 1025px) {
    .agx-carousel .uagb-post__inner-wrap .uagb-post__text .uagb-post__title {
        font-size: 2.0em;
    }

    .agx-carousel .uagb-post__inner-wrap .uagb-post__text .uagb-post__excerpt {
        font-size: 1.4em;
    }

    .agx-carousel .uagb-post__items .uagb-post__text {
        margin-left: calc(1% + 147px);
        margin-right: calc(1% + 147px);
        width: 70vw;
    }
}

@media only screen and (min-width: 1400px) {
    .agx-carousel .uagb-post__inner-wrap .uagb-post__text .uagb-post__title {
        font-size: 2.5em;
    }

    .agx-carousel .uagb-post__inner-wrap .uagb-post__text .uagb-post__excerpt {
        font-size: 1.7em;
    }
}

@media only screen and (min-width: 1420px) {
    .agx-carousel.uagb-post-grid .uagb-post__image img {
        width: 100%;
        height: auto;
    }
}



.uagb-post__items:not(.is-carousel) .uagb-post__inner-wrap {
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    position: relative;
}

.agx-transparent-black a {
    background: rgba(0,0,0,0.2) !important;
}

.agx-small-margin-right {
    margin-right: 10px;
}

.agx-push-down-container .wp-block-uagb-column .uagb-column__inner-wrap {
    height: 100%;
    padding-bottom: 30px;
}

.uagb-post__items .uagb-post__cta,
.agx-push-down {
    white-space: nowrap;
}

.agx-dark-gradient-right:before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    pointer-events: none;
    background-image: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,0.8) 100%);
    background-color: rgba(0, 0, 0, 0);
    width: 70%;
    height: 100%;
}

@media only screen and (min-width: 768px) {
    .uagb-post__items .uagb-post__cta,
    .agx-push-down {
        bottom: 20px;
        position: absolute;
        left: 50%;
        transform: translate(-50%, 0);
        white-space: nowrap;
    }

    .agx-push-down {
        bottom: 10px;
        margin-bottom: 0;
    }

    .agx-dark-gradient-right:before {
        content: none;
    }
}

.agx-column-padding {
    padding: 40px 0;
}

.agx-image-round {
    display: flex;
}

.agx-image-round figure {
    border-radius: 50%;
    background: #545454;
    padding: 7px;
    width: 130px !important;
    height: 130px !important;
}

.agx-image-round figure img {
    border-radius: 50%;
}

.uagb-post__items .uagb-post__text {
    text-align: center !important;
}

.uagb-post__items .uagb-post__text .uagb-post__excerpt {
    padding-bottom: 10px;
}

.uagb-post__items .uagb-post__text .uagb-post__title,
.uagb-post__items .uagb-post__text .uagb-post__excerpt {
    text-align: left;
}

.uagb-post-grid .uagb-post__image img {
    width: 100%;
}


.hide {
    display: none;
}

/* Gravity Forms */
.gform_wrapper.gf_browser_chrome .gfield_checkbox li input, 
.gform_wrapper.gf_browser_chrome .gfield_checkbox li input[type=checkbox], 
.gform_wrapper.gf_browser_chrome .gfield_radio li input[type=radio] {
    margin-top: -2px !important;
}

.gform_wrapper .button, 
.gform_wrapper input[type="button"] {
    background: #f38b00;
	border-radius: 35px;
    border-width: 0px;
    color: #fff;
    font-family: "Raleway", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 0.6;
    padding: 17px 26px;
}

.gform_wrapper .button:hover, 
.gform_wrapper input[type="button"]:hover {
    background-color: #f38b00cc;
}

label.gfield_consent_label {
    font-size: 0.875em;
}

/* Hack to get Popupmaker to display remote content with CSS Selector #gform_wrapper_3 */
#gform_wrapper_3 {
	display:block !important;
}


/* Header */

.site-title,
.featured-image .site-title {
    display: none;
}

.site-logo {
    right: unset;
    top: 10px;
    position: absolute;
}

.site-logo .custom-logo-link {
    width: 175px;
    border-radius: 0px;
}

@media screen and (max-width: 370px) {
    .site-logo .custom-logo-link {
	width: 120px;
        margin-left: -10px;
        margin-top: 5px;
    }
}

.site-logo .custom-logo-link:hover, .site-logo .custom-logo-link:active, .site-logo .custom-logo-link:focus {
    box-shadow: none;
}

.site-branding {
    margin: 0 25px;
}

.site-header {
    position: fixed;
    top: 0;
    padding: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    z-index: 3;
    height: 76px;
}

.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header {
     top: 46px;
    }
}

.site-content {
    margin-top: 76px;
}

.entry .entry-title:before {
    display: none;
}

h1:not(.site-title):before, h2:before {
    display: none;
}

.page .entry-header {
    position: absolute;
    top: 115px;
    color: white;
    z-index: 2;
}

.entry-content > .wp-block-cover:first-child:before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: linear-gradient(to left, rgba(0,0,0,0), rgba(0,0,0,0.8) 100%);
    background-color: rgba(0, 0, 0, 0);
    width: 70%;
    height: 100%;
}

.entry-content > .wp-block-cover:first-child {
    margin-top: 0;
}

.entry-content > .wp-block-cover:first-child + .wp-block-uagb-section {
    position: absolute;
    top: 270px;
    color: white;
    z-index: 2;
    padding-right: 40px;
	width: auto;
}

@media only screen and (min-width: 768px) {
    .entry-content > .wp-block-cover:first-child + .wp-block-uagb-section {
        top: 270px;
    }
}

.entry-content > .wp-block-cover:first-child + .wp-block-uagb-section h2 {
    text-shadow: 0 0 6px #000c;
}

.entry-content .wp-block-cover:first-child + .wp-block-uagb-section + .wp-block-columns {
    z-index: 2;
    margin-top: -120px;
    position: relative;
}

.entry-content .wp-block-cover:first-child + .wp-block-uagb-section + .wp-block-columns.no-subtitle {
    margin-top: -270px;
}

@media only screen and (min-width: 768px) {
	.entry-content .wp-block-cover:first-child + .wp-block-uagb-section + .wp-block-columns > .wp-block-column:last-child {
		margin-bottom: 0;
	}

	.entry-content .wp-block-cover:first-child + .wp-block-uagb-section + .wp-block-columns > .wp-block-column > * {
		height: 100%;
	}
}



/* Post */

.post .entry-meta,
.single-post .entry-meta,
.post .entry-footer,
.single-post .entry-footer {
    display: none;
}



/* Blog */

.archive .page-header {
    display: none;
}

.single-post #sidebar,
.blog #sidebar,
.archive #sidebar {
    padding-left: 20px;
    padding-top: 20px;
}

.single-post #sidebar ul,
.blog #sidebar ul,
.archive #sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.single-post #sidebar ul .categories:before,
.blog #sidebar ul .categories:before,
.archive #sidebar ul .categories:before {
    content: " ";
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    margin-left: 3px;
    margin-right: 10px;
    margin-bottom: 3px;
}

.single-post #sidebar ul ul,
.blog #sidebar ul ul,
.archive #sidebar ul ul {
    display: none;
}

.single-post #sidebar ul:hover ul,
.blog #sidebar ul:hover ul,
.archive #sidebar ul:hover ul {
    display: block;
}

#sidebar .categories ul li {
    line-height: 1.2;
    margin: 12px 0;
}

.archive #sidebar li.current-cat a {
    text-decoration: none;
}

/* Hide the Front Page and carousel category on News */
.cat-item-3,
.cat-item-53,
.category-font-page-carousel {
    display: none;
}

.single .entry-header {
    margin-top: 20px;
}

.blog #posts,
.archive #posts {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 20px;
    margin-left: 20px;
}

.blog #posts .post,
.archive #posts .post {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}


@media only screen and (min-width: 768px) {
    .single-post #sidebar ul .categories:before,
    .blog #sidebar ul .categories:before,
    .archive #sidebar ul .categories:before {
        display: none;
    }

    .single .entry-header {
        margin-top: calc(3 * 1rem);
    }

    .blog .site-main,
    .archive .site-main {
        margin-top: -30px;
    }

    .single .site-main {
        margin-top: -46px;
    }

    .single-post #sidebar {
	display: none;
    }

    .blog #sidebar,
    .archive #sidebar {
        position: fixed;
        width: 220px;
        padding-left: 35px;
        padding-top: 0px;
        background: white;
    }

    .single-post #sidebar ul ul,
    .blog #sidebar ul ul,
    .archive #sidebar ul ul {
        display: block;
    }

    .single-post article {
        margin-left: 20px;
    }

    .blog #posts,
    .archive #posts {
        margin-left: 230px;
        margin-top: 50px;
    }

    .single-post article {
        /*margin-left: 120px;*/
    }
}



.icon-agx-module-24px:before {
  content: "\e900";
}


/* Footer */

.site-info {
    display: none;
}

.sect_divid {
    text-align: center;
    padding-bottom: 10px;
}

.text-center {
    text-align: center;
}

.widget-column .widget {
    width: 100% !important;
    margin: 0 !important;
}

.widget-area {
    margin: 0 !important;
}

.dark-back {
    background-color: #313130;
    padding: 45px;
}

footer .dark-back p {
    color: white;
    font-size: 13px !important;
}






/* Menu */

.main-navigation .main-menu {
    float: right;
    margin-top: 20px;
    margin-right: 115px;
    font-size: 18px;
}

.main-navigation .main-menu a {
    text-decoration: none;
}

.main-navigation .main-menu > li.menu-item-has-children .submenu-expand.main-menu-more-toggle {
    /*margin-left: 0px;*/
}

.main-navigation .main-menu > li.menu-item-has-children > .submenu-expand:not(.main-menu-more-toggle) {
    display: none;
}

.main-menu-more {
    position: absolute;
    right: 5px;
    top: 2px;
}

@media only screen and (min-width: 768px) {
    .main-navigation .main-menu .menu-item-has-children:not(.off-canvas):hover > .sub-menu {
        left: auto;
        right: 27px;
    }
}

.main-navigation .main-menu .menu-item-has-children:not(.off-canvas):hover > .sub-menu.hidden-links {
    left: auto;
    right: 0px;
    width: auto;
    margin-top: -5px;
}

.main-navigation .main-menu > .menu-item-has-children.off-canvas > .sub-menu.expanded-true {
	top: 76px;
}

.admin-bar .main-navigation .main-menu > .menu-item-has-children.off-canvas > .sub-menu.expanded-true {
	top: 123px;
}

.main-navigation .main-menu .menu-item-has-children.off-canvas .sub-menu.expanded-true > .mobile-parent-nav-menu-item {
    margin-top: 12px;
}

.main-navigation .main-menu > li {
    color: black;
}

.main-navigation .main-menu > li > a {
    color: black;
    font-weight: normal;
}

.main-navigation .main-menu > li > a:hover, 
.main-navigation .main-menu > li > a:hover + svg {
	color: black;
}

.main-navigation .main-menu > li > a,
.main-navigation .main-menu > li:last-child > a,
.main-navigation .main-menu > li.menu-item-has-children > a {
    margin-right: 1.225rem;
}

.main-navigation .main-menu > li:last-child > a {
    margin-right: 45px;
}

.main-navigation {
    font-size: 0.825em;
    font-weight: normal;
}

.main-navigation .sub-menu {
    background-color: #313130;
    z-index: 4;
    /*box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);*/
}

.main-navigation .sub-menu > li > a:hover,
.main-navigation .sub-menu > li > a:focus,
.main-navigation .sub-menu > li > .menu-item-link-return:hover,
.main-navigation .sub-menu > li > .menu-item-link-return:focus {
    background: gray;
}

.menu-button {
    position: fixed;
    top: 15px;
    right: 10px;
    z-index: 3;
}

.menu-button .wp-block-button {
    margin-bottom: 0px;
}

.admin-bar .menu-button {
    top: 46px;
}

@media screen and (max-width: 782px) {
    .admin-bar .menu-button {
        top: 61px;
    }
}

.side-button {
    position: fixed;
    top: 300px;
    bottom: unset;
    right: -35px;
    z-index: 3;
    width: 150px;
    display: none;
}

.side-button .wp-block-button .wp-block-button__link {
    white-space: normal;
    line-height: 1.3;
    display: inline-block;
    text-align: right;
    padding-left: 20px;
    padding-right: 50px;
    padding-top: 12px;
    padding-bottom: 12px;
}

@media screen and (max-width: 782px) {
    .side-button {
        top: unset;
        bottom: 5px;
        width: 210px;
        right: -40px;
    }
}

/* CSS for mobile devices */
@media screen and (max-width: 767px) {
    .agx-hide-mobile {
        display: none;
    }
	
    #main .wp-block-uagb-columns .uagb-column__inner-wrap {
        padding: 0px 20px;
    }
    
    #main .entry .entry-content > .wp-block-uagb-columns, 
    #main .entry .entry-summary > .wp-block-uagb-columns {
        margin: 10px 0;
    }
}

/* Buttons */

.wp-block-button:not(.is-style-squared) .wp-block-button__link,
.entry .entry-content .wp-block-button:not(.is-style-squared) .wp-block-button__link {
    border-radius: 35px;
    border-width: 1px;
}

.wp-block-button .wp-block-button__link,
.entry .entry-content .wp-block-button .wp-block-button__link {
    line-height: 0.6;
    padding: 17px 26px;
    font-weight: normal;
    white-space: nowrap;
    font-size: 18px;
}

.wp-block-button .wp-block-button__link:not(.has-text-color) {
    color: white;
}

.wp-block-button .wp-block-button__link:hover {
}

.text-center .wp-block-button {
    display: inline-block;
    margin-top: 30px;
}

.text-center .wp-block-button:first-child {
    margin-right: 20px;
}



/* Colors */

.entry .entry-content .has-algoryx-primary-background-color,
.entry .entry-content .has-algoryx-secondary-background-color,
.entry .entry-content .has-algoryx-black-background-color {
  color: #fff;
}

.entry .entry-content .has-algoryx-primary-background-color p,
.entry .entry-content .has-algoryx-primary-background-color h1,
.entry .entry-content .has-algoryx-primary-background-color h2,
.entry .entry-content .has-algoryx-primary-background-color h3,
.entry .entry-content .has-algoryx-primary-background-color h4,
.entry .entry-content .has-algoryx-primary-background-color h5,
.entry .entry-content .has-algoryx-primary-background-color h6,
.entry .entry-content .has-algoryx-primary-background-color a,
.entry .entry-content .has-algoryx-secondary-background-color p,
.entry .entry-content .has-algoryx-secondary-background-color h1,
.entry .entry-content .has-algoryx-secondary-background-color h2,
.entry .entry-content .has-algoryx-secondary-background-color h3,
.entry .entry-content .has-algoryx-secondary-background-color h4,
.entry .entry-content .has-algoryx-secondary-background-color h5,
.entry .entry-content .has-algoryx-secondary-background-color h6,
.entry .entry-content .has-algoryx-secondary-background-color a,
.entry .entry-content .has-algoryx-black-background-color p,
.entry .entry-content .has-algoryx-black-background-color h1,
.entry .entry-content .has-algoryx-black-background-color h2,
.entry .entry-content .has-algoryx-black-background-color h3,
.entry .entry-content .has-algoryx-black-background-color h4,
.entry .entry-content .has-algoryx-black-background-color h5,
.entry .entry-content .has-algoryx-black-background-color h6,
.entry .entry-content .has-algoryx-black-background-color a {
  color: #fff;
}

.entry .entry-content .has-algoryx-gray-background-color {
  color: #111;
}

.entry .entry-content .has-algoryx-gray-background-color p,
.entry .entry-content .has-algoryx-gray-background-color h1,
.entry .entry-content .has-algoryx-gray-background-color h2,
.entry .entry-content .has-algoryx-gray-background-color h3,
.entry .entry-content .has-algoryx-gray-background-color h4,
.entry .entry-content .has-algoryx-gray-background-color h5,
.entry .entry-content .has-algoryx-gray-background-color h6,
.entry .entry-content .has-algoryx-gray-background-color a {
  color: #111;
}

.entry .entry-content .has-algoryx-primary-background-color,
.entry .entry-content .wp-block-pullquote.is-style-solid-color.has-algoryx-primary-background-color {
  background-color: #f38b00;
}

.entry .entry-content .has-algoryx-secondary-background-color,
.entry .entry-content .wp-block-pullquote.is-style-solid-color.has-algoryx-secondary-background-color {
  background-color: #4abcc8;
}

.entry .entry-content .has-algoryx-gray-background-color,
.entry .entry-content .wp-block-pullquote.is-style-solid-color.has-algoryx-gray-background-color {
  background-color: #d0d0d0;
}

.entry .entry-content .has-algoryx-black-background-color,
.entry .entry-content .wp-block-pullquote.is-style-solid-color.has-algoryx-black-background-color {
 background-color: #313130;
}

.entry .entry-content .has-algoryx-primary-color,
.entry .entry-content .wp-block-pullquote.is-style-solid-color blockquote.has-algoryx-primary-color,
.entry .entry-content .wp-block-pullquote.is-style-solid-color blockquote.has-algoryx-primary-color p {
  color: #f38b00;
}

.entry .entry-content .has-algoryx-secondary-color,
.entry .entry-content .wp-block-pullquote.is-style-solid-color blockquote.has-algoryx-secondary-color,
.entry .entry-content .wp-block-pullquote.is-style-solid-color blockquote.has-algoryx-secondary-color p {
  color: #4abcc8;
}

.entry .entry-content .has-algoryx-gray-color,
.entry .entry-content .wp-block-pullquote.is-style-solid-color blockquote.has-algoryx-gray-color,
.entry .entry-content .wp-block-pullquote.is-style-solid-color blockquote.has-algoryx-gray-color p {
  color: #d0d0d0;
}

.entry .entry-content .has-algoryx-black-color,
.entry .entry-content .wp-block-pullquote.is-style-solid-color blockquote.has-algoryx-black-color,
.entry .entry-content .wp-block-pullquote.is-style-solid-color blockquote.has-algoryx-black-color p {
  color: #313130;
}

.entry .entry-content .has-algoryx-white-color,
.entry .entry-content .wp-block-pullquote.is-style-solid-color blockquote.has-algoryx-white-color,
.entry .entry-content .wp-block-pullquote.is-style-solid-color blockquote.has-algoryx-white-color p {
  color: #f5f5f5;
}



.has-algoryx-primary-background-color {
    background: #f38b00;
}

.has-algoryx-secondary-background-color {
    background: #4abcc8;
}

.has-algoryx-gray-background-color {
    background: #d0d0d0;
}

.has-algoryx-black-background-color {
  background: #313130;
}



.wp-block-button .wp-block-button__link.has-algoryx-primary-background-color:hover {
    background: #f38b00cc !important;
}

.wp-block-button .wp-block-button__link.has-algoryx-secondary-background-color:hover {
    background: #4abcc8cc !important;
}




.entry .entry-content .wp-block-button.is-style-outline .wp-block-button__link:active {
    border-width: 1px;
}



.wp-block-button.is-style-outline .wp-block-button__link.has-algoryx-primary-color {
    border-color: #f38b00;
}

.wp-block-button.is-style-outline .wp-block-button__link.has-algoryx-secondary-color {
    border-color: #4abcc8 !important;
}

.wp-block-button.is-style-outline .wp-block-button__link.has-algoryx-gray-color {
    border-color: #d0d0d0;
}

.wp-block-button.is-style-outline .wp-block-button__link.has-algoryx-black-color {
    border-color: #313130;
}

.wp-block-button.is-style-outline .wp-block-button__link.has-algoryx-white-color {
    border-color: #f5f5f5;
}



.wp-block-button.is-style-outline .wp-block-button__link.has-algoryx-secondary-color:hover {
    background-color: #4abcc822 !important;
}



.wp-block-button.is-style-outline .wp-block-button__link.has-text-color.has-algoryx-primary-color {
    color: #f38b00 !important;
}

.wp-block-button.is-style-outline .wp-block-button__link.has-text-color.has-algoryx-primary-color:hover {
    border-color: #f38b00 !important;
	background: rgb(243,139,0, 0.2) !important;
}

.wp-block-button.is-style-outline .wp-block-button__link.has-text-color.has-algoryx-secondary-color {
    color: #4abcc8 !important;
}

.wp-block-button.is-style-outline .wp-block-button__link.has-text-color.has-algoryx-gray-color {
    color: #d0d0d0;
}

.wp-block-button.is-style-outline .wp-block-button__link.has-text-color.has-algoryx-black-color {
    color: #313130;
}

.wp-block-button.is-style-outline .wp-block-button__link.has-text-color.has-algoryx-white-color {
    color: #f5f5f5;
}



.wp-block-pullquote blockquote.has-text-color.has-algoryx-secondary-color {
    color: #4abcc8;
}



.entry .entry-content .wp-block-pullquote.has-algoryx-primary-background-color.is-style-solid-color {
    background-color: #f38b00;
}

.entry .entry-content .wp-block-pullquote.has-algoryx-secondary-background-color.is-style-solid-color {
    background-color: #4abcc8;
}

.entry .entry-content .wp-block-pullquote.has-algoryx-gray-background-color.is-style-solid-color {
    background-color: #d0d0d0;
}

.entry .entry-content .wp-block-pullquote.has-algoryx-black-background-color.is-style-solid-color {
    background-color: #313130;
}



/* News Grid */

.blog #posts .post,
.archive #posts .post {
    max-width: 349px;
    margin: 0px;
    max-height: 452px;
    overflow: hidden;
    margin-right: 23px;
    margin-bottom: 32px;
    background-color: #f5f5f5;
    position: relative; 
}

.blog.hfeed .entry .entry-header,
.archive.hfeed .entry .entry-header {
    margin: 0px;
    padding: 17px;
    padding-bottom: 0px;
}

.blog .entry .entry-content,
.archive .entry .entry-content,
.entry .entry-summary {
    margin: 0px;
    padding: 0px;
    padding: 20px;
    padding-top: 0px;
    max-width: unset;
}

.blog .entry .entry-content p,
.archive .entry .entry-content p {
    margin-top: 10px;
}


.blog .entry .entry-title,
.archive .entry .entry-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 21px;
}

.blog .entry .post-thumbnail,
.archive .entry .post-thumbnail {
    margin: 0px;
}

.blog .entry .post-thumbnail .post-thumbnail-inner,
.archive .entry .post-thumbnail .post-thumbnail-inner {
    position: absolute;
    width: 349px;
    top: 0px;
    max-height: 182px;
    overflow: hidden;
}

.blog #main,
.archive #main {
    margin-left: auto;
    margin-right: auto;
    max-width: 1400px;
    min-height: 700px;
}

.blog .has-post-thumbnail .entry-title,
.archive .has-post-thumbnail .entry-title {
    margin-top: 185px;
}

.single-post #main {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.single-post .entry .entry-content p {
    /*text-align: justify;*/
}

.single-post .entry .site-featured-image {
    display: none;
}

.single-post .post-navigation {
    display: none;
}

.momentum-table {
    max-width: 1200px !important;
}

.momentum-table td {
    word-break: break-word;
}

ul.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding-left: 1.5em;
    padding-top: 16px;
    line-height: 1.6;
}

.feature-list li:before {
    content: "";
    display: inline-block;
    margin-left: -1.8em;
    margin-right: 0.8em;
    margin-bottom: -2px;
    height: 24px;
    width: 18px;
    /*background-image: url("https://www.algoryx.se/mainpage/wp-content/uploads/2019/05/checkmark_blue_144x144.png");*/
	background-image: url("https://www.algoryx.se/mainpage/wp-content/uploads/2019/12/checkmark_black.png");
    background-size: 18px;
    background-repeat: no-repeat;
    background-position-y: 6px;
}
/* feature list with arrow*/
ul.arrow-list {
    list-style: none;
    padding: 0;
}

.arrow-list li {
    padding-left: 1.5em;
    padding-top: 16px;
    line-height: 1.6;
}

.arrow-list li:before {
    content: "";
    display: inline-block;
    margin-left: -1.8em;
    margin-right: 0.8em;
    margin-bottom: -2px;
    height: 24px;
    width: 18px;
	background-image: url("https://www.algoryx.se/mainpage3/wp-content/uploads/2019/12/arrow_orange.png");
    background-size: 18px;
    background-repeat: no-repeat;
    background-position-y: 6px;
}

.error-404 .page-header {
    margin-left: auto;
    margin-right: auto;
    width: 600px;
    max-width: 100%;
    text-align: center;
}

.error-404 .wp-block-button {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

.error-404 img {
    padding: 20px;
}



/* publications, teachPress */

.teachpress_pub_list table {
    font-family: "Raleway";
    font-size: 16px;
    font-weight: 400;
}

.entry .entry-content .teachpress_pub_list .tp_pub_title_algoryx a,
.entry .entry-content .teachpress_pub_list .tp_pub_title_algoryx a:visited {
    color: #313130;
    font-weight: 600;
    text-decoration: none;
}

.teachpress_pub_list .tp_pub_title_algoryx a:hover {
    color: #313130;
}

.teachpress_pub_list ul.tp_pub_list li {
    font-size: 16px;
}

.teachpress_pub_list ul.tp_pub_list li i {
    font-size: 20px;
    width: 30px;
    color: #4abcc8bb;
    vertical-align: middle;
}

.teachpress_pub_list td {
    border: none;
    word-break: break-word;
}

.teachpress_pub_list .tp_publication_algoryx td {
    padding-top: 20px;
    padding-bottom: 20px;
}

.teachpress_pub_list img {
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

.teachpress_pub_list .tp_pub_tags_algoryx, #content span.tp_pub_tags_simple {
    display: block;
}

.teachpress_pub_list td.tp_pub_info_algoryx,
.teachpress_pub_list td.tp_pub_image_left {
    border-bottom: none;
    border-top: 1px solid #767676;
}

.teachpress_pub_list .tablenav .tablenav-pages {
    display: flex;
}

.teachpress_pub_list .tablenav .tablenav-pages a {
    height: 23px;
    width: 23px;
    align-self: center;
}

.teachpress_pub_list .tablenav .tablenav-pages a:nth-child(2),
.teachpress_pub_list .tablenav .tablenav-pages a:nth-child(4) {
    margin-left: 7px;
}

.teachpress_pub_list .tablenav .tablenav-pages a:nth-child(3),
.teachpress_pub_list .tablenav .tablenav-pages a:nth-child(5) {
    margin-right: 7px;
}

.teachpress_pub_list .tablenav .tablenav-pages a.button {
    background: none;
}

.teachpress_pub_list .tablenav .tablenav-pages a.button:hover {
    color: inherit;
}

.teachpress_pub_list .teachpress_filter {
    text-align: right;
}

.teachpress_pub_list .teachpress_filter select {
    margin-right: 10px;
    font-family: "Raleway";
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 3px;
}

.teachpress_pub_list .tp_abstract_entry {
    max-width: 740px;
    text-align: justify;
}

@media only screen and (max-width: 768px) {
    .teachpress_pub_list td.tp_pub_info_algoryx {
        width: 600px;
    }
}

.algoryx-form input {
    font-family: Raleway;
    font-size: 15px;
}
