/**
 * @file
 * Presentational styles for Drupal stark theme layout.
 *
 * It is left empty for testing purposes.
 *
 * @see https://www.drupal.org/project/drupal/issues/2349711
 */


@font-face {
    font-family: Avenir;
    src: url(../fonts/AvenirLTStd-Book.woff);
    font-weight: normal;
    font-style: normal;
}

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

/* quattrocento-regular - latin */
@font-face {
  font-family: 'Quattrocento';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/quattrocento-v11-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Quattrocento'),
       url('../fonts/quattrocento-v11-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/quattrocento-v11-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/quattrocento-v11-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/quattrocento-v11-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/quattrocento-v11-latin-regular.svg#Quattrocento') format('svg'); /* Legacy iOS */
}

/* quattrocento-700 - latin */
@font-face {
  font-family: 'Quattrocento';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/quattrocento-v11-latin-700.eot'); /* IE9 Compat Modes */
  src: local('Quattrocento Bold'), local('Quattrocento-Bold'),
       url('../fonts/quattrocento-v11-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/quattrocento-v11-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/quattrocento-v11-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/quattrocento-v11-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/quattrocento-v11-latin-700.svg#Quattrocento') format('svg'); /* Legacy iOS */
}

body {
    margin: 0;
    font-family: Avenir;
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 112.6%;
    letter-spacing: -0.03em;
    color: #191A1F;
}

a {
    color: #C12B41;
}

h2 {
    font-family: Quattrocento;
    font-style: normal;
    font-weight: normal;
    font-size: 54px;
    color: #191A1F;
}

html,
body.page-node-961 {
    height: 100%;
}

body.page-node-961 .dialog-off-canvas-main-canvas,
body.page-node-961 .layout-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

body.page-node-961 main {
    flex: 1 0 auto;
}

body.page-node-961 footer {
    flex: 0 0 auto;
}

.page-node-type-blog h1 {
    font-family: Quattrocento;
    font-style: normal;
    font-weight: normal;
    font-size: 1.5em;
    line-height: initial;
    color: #C12B41;

}

.page-node-type-blog h2 {
    font-family: Quattrocento;
    font-weight: bold;
    font-size: 1.25em;
    line-height: initial;
}

h3 {
    font-family: Quattrocento;
    font-style: normal;
    font-weight: bold; 
    font-size: 24px;
    line-height: 112.6%;
    letter-spacing: -0.03em;
    color: #C12B41;
/*    text-transform: capitalize; */
}

.page-node-type-blog h3 {
    font-family: Quattrocento;
    font-style: normal;
    font-weight: bold;
    font-size: 1.00em;
    line-height: initial;
    letter-spacing: -0.03em;
    color: #191A1F;
}

.blurb {
    font-size: 20px;
    color: #C12B41;
    font-family: Avenir;
    font-style: normal;
    font-weight: normal;
    line-height: 112.6%;
    letter-spacing: -0.03em;
}

ul.links.inline {
    display: none;
}

#block-pagetitle .inner-container {
    padding: 25px 0;
}

#block-ourclients h3 {
    font-size: 23px;
    text-transform: none;
}

#block-ourservices h3,
#block-ourteam h3 {
    font-size: 22px;
}

.clearfix {
    clear: both;
}

header {
    width: 1002px;
    min-height: 84px;
    margin: 0 auto;
    padding-top: 15px;
    padding-right: 10px;
}

header > div {
    float: left;
}

header  div:nth-child(2) {
    float: right;
}

header .inner-container {
    width: auto;
    margin: 0;
    padding: 0;
}

.inner-container {
    width: 1012px;
    margin: 0 auto;
    padding: 30px 0;
}

#block-gremwell-main-menu ul li,
#block-mainmenu ul li {
    float: left;
    list-style-type: none;
    margin-left: 23px;
}

#block-gremwell-main-menu ul li a,
#block-mainmenu ul li a {
    text-transform: uppercase;
    color: #191A1F;
    text-decoration: none;
    font-size: 16px;
    line-height: 112.6%;
    letter-spacing: -0.03em;
}

#block-gremwell-main-menu a.is-active:after,
#block-mainmenu a.is-active:after {
    content: "";
    display: block;
    width: 30px;
    height: 3px;
    background: #C12B41;
    margin: 0 auto;
}

.views-element-container .blog-post h2 a {
    font-family: Quattrocento;
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 112.6%;
    letter-spacing: -0.03em;
    color: #C12B41;
    text-transform: uppercase;
    text-decoration: none;
}

#block-copyright {
    text-align: center;
    color: #fff;
}

#block-copyright .inner-container {
    padding: 50px 0;
}

footer {
    background: #000;
}

#block-mainnavigation,
#block-mainmenu-2 {
    max-width: 1012px;
    margin: 0 auto;
    text-align: right;
}

#block-mainnavigation h2,
#block-mainmenu-2 h2 {
    display: none;
}

#block-mainnavigation li,
#block-mainmenu-2 li {
    list-style: none;
    float: left;
    margin: 0 10px;
}

#block-mainnavigation ul,
#block-mainmenu-2 ul {
    margin: 0;
    padding: 30px 0 20px 0;
    display: inline-block;
}

#block-mainnavigation a,
#block-mainmenu-2 a {
    text-transform: uppercase;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
}

#drupal-live-announce {
    display: none;
}

.w50 {
    width: 50%;
    float: left;
    box-sizing: border-box;
}

.w50:nth-child(2n+1) {
    padding-right: 38px;
}

.w50:nth-child(2n+2) {
    padding-left: 38px;
}

.w33 {
    width: 33%;
    float: left;
    box-sizing: border-box;
    margin-bottom: 24px;
}

.owl-item .w33 {
    width: 100%;
}

/*
.section:nth-child(odd) .owl-item .blog-post {
    background: white;
}

.section:nth-child(even) .owl-item .blog-post {
    background: #f8f8f8;
}
*/

.w33:nth-child(3n+2) {
    padding-right: 16px;
}

.w33:nth-child(3n+3) {
    padding: 0 8px;
}

.w33:nth-child(3n+1) {
    padding-left: 16px;
}

.section:nth-child(odd) {
	background: #F8F8F8;
}

#block-ourclients .w33 {
    margin-bottom: 16px;
}

.owl-carousel .owl-item img {
    width: initial !important;
}

.client img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.section h2,
#block-views-block-blog-block-1 h2,
h2[data-gremwell-dots="dot"] {
    text-transform: capitalize;
    font-size: 54px;
    line-height: 112.6%;
    margin: 0 0 35px 0;
    letter-spacing: -0.03em;
}

#block-topscreenwas,
#block-topscreenhwd {
    background: url(../images/was-bg.png) no-repeat;
    background-size: cover;
}

#block-topscreenhome h2,
#block-topscreenwas h2,
#block-topscreenhwd h2,
#block-topscreenmt h2 {
    font-size: 52px;
}

#block-topscreenwas h2,
#block-topscreenhwd h2 {
    text-align: center;
}

#block-topscreenhome p,
#block-topscreenwas p,
#block-topscreenhwd p,
#block-topscreenmt p {
    font-size: 23px;
    color: #C12B41;
}

#block-topscreenwas p,
#block-topscreenhwd p,
#block-topscreenmt p,
#block-usingmagictree p.p-button {
    text-align: center;
}

#block-topscreenhome p a,
#block-topscreenwas p a,
#block-topscreenhwd p a,
#block-topscreenmt p a,
#block-usingmagictree p.p-button a {
    color: #fff;
    text-decoration: none;
    background: #C12B41;
    padding: 20px 35px;
    margin-top: 45px;
    display: inline-block;
    font-family: Quattrocento;
}

#block-topscreenhome .w50:nth-child(2n) {
    text-align: right;
}

#block-topscreenhome img {
    margin-top: 0px;
/*    position: absolute;*/
/*    margin-left: 40px;*/
    margin-right: 10px;
}

.section h2:after,
#block-views-block-blog-block-1 h2:after,
h2[data-gremwell-dots="dot"]:after {
    content: '.';
    color: #C12B41;
    font-family: Avenir;
    font-size: 54px;
}

#block-views-block-blog-block-1 .blog-list .inner-container {
    padding: 0;
}

#block-views-block-blog-block-1 .blog-list .inner-container .blog-post {
    margin-bottom: 0;
}

#block-views-block-blog-block-1 .w33 {
    width: 100%;
}

#block-views-block-blog-block-1 .owl-item {
    float: left;
}

#block-topscreenhome h2:after,
#block-topscreenwas h2:after,
#block-topscreenhwd h2:after,
#block-topscreenmt h2:after {
    content: '.';
}

/*
#block-aboutus,
#block-ourservices,
#block-ourblog,
.page-node-2 #block-webform,
.page-node-956 #block-contacts,
#block-securitytests,
.page-node-3 #block-webform,
.page-node-957 #block-contacts,
.page-node-4 #block-webform,
.page-node-958 #block-magictreedocumentation,
#block-magictreecapabilities,
#block-views-block-blog-block-1 {
    background: #F8F8F8;
}
*/

#block-magictreecapabilities img,
#block-usingmagictree img {
    max-width: 100%;
}

#block-magictreedocumentation .cart {
    height: 123px;
}

#block-securitytests h3 {
    font-family: Avenir;
    font-style: normal;
    font-weight: normal;
    font-size: 54px;
    line-height: 112.6%;
    /* identical to box height, or 61px */
    letter-spacing: -0.03em;
    margin: 0;
    float: left;
    margin-top: 55px;
}

#block-securitytests p {
    font-style: normal;
    font-weight: normal;
    font-size: 24px;
    line-height: 112.6%;
    /* or 27px */
    letter-spacing: -0.03em;
    font-family: Quattrocento;
    margin: 0;
    color: #191A1F;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 95px;
    padding-right: 20px;
}

#block-securitytests .cart {
    min-height: 138px;
}

#block-howitworks li,
#block-stepswefollow li {
    margin-bottom: 40px;
    list-style: none;
    padding-left: 35px;
}

#block-howitworks li:before,
#block-stepswefollow li:before {
    content:"·";
    font-size:100px;
    position: absolute;
    margin-top: 5px;
    margin-left: -35px;
    color: #C12B41;
}

#block-howitworks ul,
#block-stepswefollow ul {
    padding: 0;
}

#block-ourblog h3 {
    font-weight: normal;
    color: #191A1F;
}

#block-ourservices h4,
#block-magictreedocumentation .cart p {
    color: #191A1F;
    margin: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 80px;
    padding-right: 20px;
}

#block-magictreedocumentation .cart p {
    left: 20px;
    font-family: Quattrocento;
}

#block-magictreedocumentation .cart p a {
    text-decoration: none;
}

#block-magictreedocumentation .cart p:after {
    content: "\2192";
    padding-left: 10px;
    display: inline-block;
    vertical-align: middle;
    color: #C12B41;
}

.cart {
/*    background: #f8f8f8; */
    padding: 0px 18px;
    height: 164px;
    position: relative;
}

.section:nth-child(odd) .cart {
	background: white;
}

.section:nth-child(even) .cart {
        background: #f8f8f8;
}

.cart img {
    margin-bottom: 8px;
    float: left;
    margin-top: 55px;
}

.date {
    font-size: 18px;
    color: #C12B41;
    font-family: Quattrocento;
}

.team, .client {
    padding: 22px 18px;
}

.section:nth-child(even) .team, .section:nth-child(even) .client {
	background: #F8F8F8;
}

.section:nth-child(odd) .team, .section:nth-child(odd) .client {
        background: white;
}

.section:nth-child(even) div.blog-post.w33.views-row {
        background: #F8F8F8;
}

.section:nth-child(odd) div.blog-post.w33.views-row {
        background: white;
}


.team h3 {
    margin: 0;
}

.post img {
    width: 100%;
}

#edit-processed-text {
    float: left;
    width: 33%;
}

#edit-processed-text div {
    margin-bottom: 50px;
}

#edit-processed-text div img,
#block-contacts div.w33 img {
    float: left;
    margin-right: 24px;
}

#edit-processed-text div:nth-child(1) img {
    margin-top: 0px;
}

#edit-processed-text div:nth-child(3) img {
    margin-top: 30px;
}

#edit-processed-text div:nth-child(5) img {
    margin-top: -10px;
}

#edit-processed-text div p,
#block-contacts div p {
    float: left;
}

#block-contacts .w33 {
    position: relative;
}

#block-contacts div p {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 100px;
    padding-right: 20px;
}

#block-contacts .w33 img {
    margin-top: 40px;
}

#block-contacts .w33 p a {
    text-decoration: none;
    color: #191A1F;
}

.webform-submission-contact-form input,
.webform-submission-popup-form input,
.webform-submission-contact-form textarea,
.webform-submission-popup-form textarea {
    width: 66%;
    background: #F8F8F8;
    border: 1px solid #FA2941;
    padding: 0 20px;
    box-sizing: border-box;
    font-size: 18px;
}

.webform-submission-contact-form input,
.webform-submission-popup-form input {
    height: 50px;
    margin-bottom: 20px;
    -webkit-appearance: none;
    border-radius: 0px;
}

.webform-submission-contact-form textarea,
.webform-submission-popup-form textarea {
    height: 160px;
    margin-bottom: 60px;
    padding: 20px;
    -webkit-appearance: none;
    border-radius: 0;
}

.webform-submission-popup-form input,
.webform-submission-popup-form textarea {
    width: 100%;
}

.webform-submission-popup-form .close_popup {
    position: absolute;
    top: 0;
    right: 0;
    width: 26px;
    height: 20px;
    cursor: pointer;
}

.close_popup:after {
    content: "\d7";
    font-size: 38px;
    color: #C12B41;
    position: absolute;
    left: 0;
    top: 0;
}

#block-overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255,255,255,.9);
    z-index: 9;
}

#edit-actions input {
    width: initial;
    float: right;
    background: #C12B41;
    color: #fff;
    font-family: Quattrocento;
    font-size: 23px;
    padding: 0 50px;
    -webkit-appearance: none;
    border-radius: 0px;
}

.webform-submission-popup-form #edit-actions--3 input {
    width: initial;
    font-family: Quattrocento;
    color: #fff;
    font-size: 23px;
    padding: 0 50px;
    background: #C12B41;
}

.webform-submission-popup-form center {
    padding: 30px 0;
    font-family: Quattrocento;
    font-style: normal;
    font-weight: normal;
    font-size: 24px;
    line-height: 112.6%;
}

button.owl-dot {
    margin: 12px 5px 0;
    width: 15px;
    height: 15px;
    border-radius: 8px;
/*    background: #f8f8f8 !important; */
}

.section:nth-child(even) button.owl-dot {
        background: #f8f8f8 !important;
}

.section:nth-child(odd) button.owl-dot {
        background: white !important;
}

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

/*
#block-magictreecapabilities button.owl-dot,
#block-views-block-blog-block-1 button.owl-dot {
    background: #fff !important;
}
*/

.section button.owl-dot.active {
    background: #FA2941 !important;
}

div:not(#block-views-block-blog-block-1) .owl-carousel {
    display: block !important;
    width: 1012px;
}

#block-burger {
    display: none;
}

article {
    max-width: 1012px;
    margin: 0 auto;
}

/*
article footer {
    background: #ffffff;

article img {
    float: left;
    margin: 0 20px 20px 0;
}
*/
article img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding:1px;
  border:1px solid #021a40;
}

code {
  font-family: monospace;
  background-color: #fbfbfb;
  padding: 1px;
  font-size: 90%;
}

#block-webform {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    height: 460px;
    width: 490px;
    margin-left: -305px;
    margin-top: -260px;
    padding: 30px 60px;
    z-index: 9;
}

#block-webform .inner-container {
    width: inherit;
    padding: 0;
}

.webform-submission-popup-form textarea {
    margin-bottom: 30px;
}

#edit-actions--3 {
    text-align: center;
}

.blog-list header {
    /*background: url(../images/was-bg.png) no-repeat;
    background-size: cover;*/
    /*width: 100%;*/
    padding: 0;
}

.blog-list header h2 {
    /*text-align: center;*/
    text-transform: capitalize;
    padding: 100px 0;
    margin: 0;
}

.blog-list .section {
    background: #fff;
}

.blog-post {
    min-height: 400px;
    position: relative;
    margin-bottom: 100px;
}

.views-field-title {
    margin: 10px 0 20px;
}

.views-field-title a {
    font-family: Quattrocento;
    font-style: normal;
    font-weight: normal;
    font-size: 24px;
    line-height: 112.6%;
    color: #191A1F;
    text-decoration: none;
}

.views-field-field-image img {
    width: 100%;
}

.views-field-created {
	/*
    position: absolute;
    left: 8px;
    bottom: 0;
    color: #C12B41;
    */
    font-family: Quattrocento;
    font-weight: bold;
    font-style: italic;
    padding-top: 10px;
    font-size: 90%;
}

.page-node-type-article h1 {
    font-family: Quattrocento;
    font-size: 64px;
    font-size: 50px;
    line-height: 54px;
}

.owl-carousel .owl-nav button.owl-prev, .owl-carousel .owl-nav button.owl-next {
    font-size: 54px !important;
    color: #C12B41 !important;
}

.owl-nav {
    position: absolute;
    top: 35%;
    width: 100%;
}

.page-node-958 .owl-nav {
    top: 45%;
}

.page-node-958 .owl-nav .owl-next {
    right: -25px;
}

.owl-nav .owl-next {
    position: absolute;
    right: -10px;
}

.owl-nav .owl-prev {
    position: absolute;
    left: -25px;
}

div[role="contentinfo"] {
    text-align: center;
    color: green;
    font-size: 24px;
    font-family: Quattrocento;
}

.js-pager__items {
    text-align: center;
    list-style: none;
}

.js-pager__items li {
    display: inline-block;
    font-weight: bold;
    color: #C12B41;
}

ul.js-pager__items li a {
    text-decoration: none;
    font-weight: normal;
    color: #C12B41;
}

.page-node-type-blog footer {
    background: #ffffff;
    font-family: Quattrocento;
    font-weight: bold;
    font-style: italic;
    font-size: 90%;

}

/*.page-node-type .js-comment.by-viewer,
.page-node-type-blog .links {
    display: none;
}*/

.blog-list.page .w33 {
    width: 100%;
    padding-left: 0 !important;
}

.blog-list.page .views-field-title a {
    color: #C12B41;
}

.blog-list.page .blog-post {
    min-height: initial;
    margin-bottom: 50px;
}

.blog-list.page .blog-post .views-field-view-node a {
    margin-top: 24px;
    display: inline-block;
    text-decoration: none;
    font-size: 16px;
}

.blog-list.page .blog-post .views-field-view-node a:after {
    content: "\2192";
    padding-left: 10px;
    font-size: 16px;
    display: inline-block;
    vertical-align: middle;
    color: #C12B41;
}

.page-node-type-blog main {
    padding-bottom: 50px;
}

@media (max-width: 1000px) {

    .inner-container {
	width: 100%;
    }
    
    .row {
	padding-left: 20px;
	padding-right: 20px;
    }
    
    header {
	width: 100%;
    }
    
    .w50 {
	width: 100%;
	padding: 0px !important;
    }
    
    .w33 {
	width: 100%;
	padding: 0 !important;
    }
    
    #block-topscreenhome img {
	display: none;
    }
    
    #edit-processed-text {
	width: 100%
    }
    
    .webform-submission-contact-form input,
    .webform-submission-contact-form textarea {
	width: 100%;
    }
    
    .inner-container {
	padding: 40px 0;
    }
    
    #block-ourclients .w50:nth-child(2) {
	margin-top: 0 !important;
    }
    
    #block-ourclients .w33 {
	text-align: center;
	width: 100%;
    }
    
    header > div {
	width: 100%;
	text-align: center;
    }
    
    #block-gremwell-branding,
    #block-sitebranding {
	text-align: left;
    }
    
    #block-gremwell-main-menu ul,
    #block-mainmenu ul {
	padding-left: 0;
    }
    
    #block-gremwell-main-menu ul li,
    #block-mainmenu ul li {
	float: none;
	margin-left: 0;
	width: 100%;
    }
    
    header div:nth-child(2) {
	float: none;
    }
    
    #block-burger {
	display: block;
	position: absolute;
	right: 20px;
	top: 30px;
    }
    
    #block-burger .row {
	padding: 0;
    }
    
    #block-gremwell-main-menu ul,
    #block-mainmenu ul {
	display: none;
    }
    
    #block-topscreenhome p a {
	margin-top: 20px;
    }
    
    .burger:before {
	content:'\2630';
	font-size: 30px;
    }
    
    #block-usingmagictree p {
	font-size: 16px;
    }
    
    #block-mainnavigation,
    #block-mainmenu-2 {
	display: none;
    }
    
    #block-gremwell-main-menu a.is-active:after,
    #block-mainmenu a.is-active:after {
	display: none;
    }
    
    header {
        position: fixed;
        background: #fff;
	z-index: 9;
    }
    
    main {
	padding-top: 99px;
    }
    
    #block-webform-2 {
	width: 100%;
        left: 0;
        margin-left: 0;
        padding-left: 0;
    }
    
    .webform-submission-popup-form .close_popup {
	right: 65px;
    }
    
    .blog-list header {
	position: initial;
    }
    
    .blog-list .inner-container {
	padding-left: 20px;
        padding-right: 20px;
        width: auto;
    }
    
    .blog-post {
	min-height: auto;
	margin-bottom: 90px;
    }
    
    .views-field-created {
	position: initial;
	margin-top: 20px;
    }
    
    article {
	padding-left: 20px;
        padding-right: 20px;
    }
    
    article img {
	max-width: 100%;
	height: auto;
    }
    
    .owl-nav {
	display: none !important;
    }
    
    div[role="contentinfo"] {
	position: fixed;
        top: 80px;
        text-align: center;
        width: 100%;
    }
    
    div:not(#block-views-block-blog-block-1) .owl-carousel {
	width: auto;
    }

    img.banner-image {
    	float: left;
    }
}
