/*
 Theme Name:   Sarcol2
 Theme URI:    
 Description:  Tema Sarcol 
 Author:       Gallicyadas
 Author URI:   http://www.gallicyadas.pt
 Template:     twentyseventeen
 Version:      1.0.0
*/



#primary .entry-content {
  width: 100% !important;
}

#secondary.entry-content {
  width: 100% !important;
}


.my-pt-flag > a {
	padding: 5px 5px 5px 30px;
}
.my-en-flag > a {
	padding: 5px 30px 5px 5px;
}

/* FONT ICONS */

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

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'sarcol' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-networking1:before {
  content: "\e900";
  font-size: 90%;
}
.icon-competitividade1:before {
  content: "\e901";
  font-size:80%;
}
.icon-localizacao:before {
  content: "\e902";
}
.icon-melhoriacontinuada1:before {
  content: "\e903";
  font-size:80%;
}
.icon-qualidadedoespaco1:before {
  content: "\e904";
}

.icon-logo-sarcol:before {
  content: "\e905";
}

.font-icon-position-size {
font-size: 280%;
position: relative;
left: 40%;
display: inline-block;
float: none !important;
}

.font-icon-position-size-melhorada {
font-size: 280%;
position: relative;
left: 45%;
display: inline-block;
float: none !important;
}

.box-title {
    text-align: center;
    margin-top: -10%;
}

.circle
  {
    border-radius: 50%;
    background-color: CornflowerBlue;
    width:50px;
    height:50px;
  }

/*remove default mobile menu*/
.menu-toggle {
    display: none !important;
}

.invisible{
    visibility:hidden;
}



/* change content size */
@media screen and (min-width: 48em){
    .has-sidebar:not(.error404) #primary {
        float: left !important;
        width: 100% !important;
    }
}

/*change menu (not working yet)
#site-navigation ul li:hover ul li {
    margin: 0px !important;
    display: block !important;
    float: left !important; 
}*/

/* change header height */
.has-header-image.twentyseventeen-front-page .custom-header, .has-header-video.twentyseventeen-front-page .custom-header, .has-header-image.home.blog .custom-header, .has-header-video.home.blog .custom-header{
    height: 85vh !important;
}

/* remove normal menu on mobile */
@media (max-width: 780px) {
      #mega-menu-top {
        text-align: right;
        padding: 0px 0px 0px 0px;
        display: none !important;
    }
}

/*remove title from main page*/
.page #content {
padding-top: 13px !important;
}
.page .entry-header {
display: none !important;
}

.archive .page-header h1.page-title {
display:none !important;
}

/*style contact form 7*/
#dropcontact{
    width:100%;
    background-color:white;
}

/*change timeline responsive*/
@media only screen and (min-width: 900px) {
  .svt-cd-timeline {
    margin-top: 3em;
    margin-bottom: 3em;
  }
  .svt-cd-timeline::before {
    left: 50%;
    margin-left: -2px;
  }
}

@media only screen and (min-width: 900px) {
  .svt-cd-timeline-block {
    margin: 4em 0;
  }
  .svt-cd-timeline-block:first-child {
    margin-top: 0;
  }
  .svt-cd-timeline-block:last-child {
    margin-bottom: 0;
  }
}

@media only screen and (min-width: 900px) {
  .svt-cd-timeline-img {
    width: 60px;
    height: 60px;
    left: 50%;
    margin-left: -30px;
    /* Force Hardware Acceleration in WebKit */
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
  }
  .cssanimations .svt-cd-timeline-img.is-hidden {
    visibility: hidden;
  }
  .cssanimations .svt-cd-timeline-img.bounce-in {
    visibility: visible;
    -webkit-animation: cd-bounce-1 0.6s;
    -moz-animation: cd-bounce-1 0.6s;
    animation: cd-bounce-1 0.6s;
  }
}

@media only screen and (min-width: 900px) {
  .svt-cd-timeline-content {
    margin-left: 0;
    padding: 1.6em;
    width: 45%;
  }
  .svt-cd-timeline-content::before {
    top: 24px;
    left: 100%;
    border-color: transparent;
    border-left-color: #303e49;
  }
  .svt-cd-timeline-content .svt-cd-read-more {
    float: left;
  }
  .svt-cd-timeline-content .svt-cd-date {
    position: absolute;
    width: 100%;
    left: 122%;
    top: 6px;
    font-size: 16px;
    font-size: 1rem;
  }
  .svt-cd-timeline-block:nth-child(even) .svt-cd-timeline-content {
    float: right;
  }
  .svt-cd-timeline-block:nth-child(even) .svt-cd-timeline-content::before {
    top: 24px;
    left: auto;
    right: 100%;
    border-color: transparent;
    border-right-color: #303e49;
  }
  .svt-cd-timeline-block:nth-child(even) .svt-cd-timeline-content .svt-cd-read-more {
    float: right;
  }
  .svt-cd-timeline-block:nth-child(even) .svt-cd-timeline-content .svt-cd-date {
    left: auto;
    right: 122%;
    text-align: right;
  }
  .cssanimations .svt-cd-timeline-content.is-hidden {
    visibility: hidden;
  }
  .cssanimations .svt-cd-timeline-content.bounce-in {
    visibility: visible;
    -webkit-animation: cd-bounce-2 0.6s;
    -moz-animation: cd-bounce-2 0.6s;
    animation: cd-bounce-2 0.6s;
  }
}

@media only screen and (min-width: 900px) {
  /* inverse bounce effect on even content blocks */
  .cssanimations .svt-cd-timeline-block:nth-child(even) .svt-cd-timeline-content.bounce-in {
    -webkit-animation: cd-bounce-2-inverse 0.6s;
    -moz-animation: cd-bounce-2-inverse 0.6s;
    animation: cd-bounce-2-inverse 0.6s;
  }
}

@media only screen and (min-width: 900px) {
  .svt-cd-timeline {
    margin-top: 3em;
    margin-bottom: 3em;
  }
  .svt-cd-timeline::before {
    left: 50%;
    margin-left: -2px;
  }
}

@media only screen and (min-width: 900px) {
  .svt-cd-timeline-block {
    margin: 4em 0;
  }
  .svt-cd-timeline-block:first-child {
    margin-top: 0;
  }
  .svt-cd-timeline-block:last-child {
    margin-bottom: 0;
  }
}

@media only screen and (min-width: 900px) {
  .svt-cd-timeline-img {
    width: 60px;
    height: 60px;
    left: 50%;
    margin-left: -30px;
    /* Force Hardware Acceleration in WebKit */
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
  }
  .cssanimations .svt-cd-timeline-img.is-hidden {
    visibility: hidden;
  }
  .cssanimations .svt-cd-timeline-img.bounce-in {
    visibility: visible;
    -webkit-animation: cd-bounce-1 0.6s;
    -moz-animation: cd-bounce-1 0.6s;
    animation: cd-bounce-1 0.6s;
  }
}

@media only screen and (min-width: 900px) {
  .svt-cd-timeline-content {
    margin-left: 0;
    padding: 1.6em;
    width: 45%;
  }
  .svt-cd-timeline-content::before {
    top: 24px;
    left: 100%;
    border-color: transparent;
    border-left-color: #303e49;
  }
  .svt-cd-timeline-content .svt-cd-read-more {
    float: left;
  }
  .svt-cd-timeline-content .svt-cd-date {
    position: absolute;
    width: 100%;
    left: 122%;
    top: 6px;
    font-size: 16px;
    font-size: 1rem;
  }
  .svt-cd-timeline-block:nth-child(even) .svt-cd-timeline-content {
    float: right;
  }
  .svt-cd-timeline-block:nth-child(even) .svt-cd-timeline-content::before {
    top: 24px;
    left: auto;
    right: 100%;
    border-color: transparent;
    border-right-color: #303e49;
  }
  .svt-cd-timeline-block:nth-child(even) .svt-cd-timeline-content .svt-cd-read-more {
    float: right;
  }
  .svt-cd-timeline-block:nth-child(even) .svt-cd-timeline-content .svt-cd-date {
    left: auto;
    right: 122%;
    text-align: right;
  }
  .cssanimations .svt-cd-timeline-content.is-hidden {
    visibility: hidden;
  }
  .cssanimations .svt-cd-timeline-content.bounce-in {
    visibility: visible;
    -webkit-animation: cd-bounce-2 0.6s;
    -moz-animation: cd-bounce-2 0.6s;
    animation: cd-bounce-2 0.6s;
  }
}

@media only screen and (min-width: 900px) {
  /* inverse bounce effect on even content blocks */
  .cssanimations .svt-cd-timeline-block:nth-child(even) .svt-cd-timeline-content.bounce-in {
    -webkit-animation: cd-bounce-2-inverse 0.6s;
    -moz-animation: cd-bounce-2-inverse 0.6s;
    animation: cd-bounce-2-inverse 0.6s;
  }
}

@media only screen and (min-width: 900px) {
  /* inverse bounce effect on even content blocks */
  .cssanimations .svt-cd-timeline-block:nth-child(even) .svt-cd-timeline-content.bounce-in {
    -webkit-animation: cd-bounce-2-inverse 0.6s;
    -moz-animation: cd-bounce-2-inverse 0.6s;
    animation: cd-bounce-2-inverse 0.6s;
  }
}

/* timeline extra colors */
.svt-cd-timeline-img.svt-cd-turquoise{
  background: #40E0D0;
}

.svt-cd-timeline-img.svt-cd-silver{
  background: #C0C0C0;
}

.svt-cd-timeline-img.svt-cd-gold{
  background: #FFCC00;
}

/* removing powered by on CM Business */
.cminds_poweredby {
	visibility:hidden !important;
}

/*change color on CM Business */
.product-widget {
	background:#DDDDDD !important;
	color:black !important;
}

.product-widget a {
	color:black !important;
}

/* reduce space between header and content */
@media screen and (min-width: 48em){
	.panel-content .wrap {
    	padding-top: 20px !important;
	}
	.page.page-one-column .entry-header, .twentyseventeen-front-page.page-one-column .entry-header, .archive.page-one-column:not(.has-sidebar) .page-header {
    margin-bottom: 20px !important;
	}
}

/*change the pricing boxes' colors*/
.rpt_style_basic .rpt_plan .rpt_title {
	background:linear-gradient(45deg,grey 0%,#1c1c1c 100%) !important;
	border-bottom:grey solid 2px !important;
}
.rpt_style_basic .rpt_plan .rpt_head {
	background:linear-gradient(45deg,grey 0%,#1c1c1c 100%) !important;
	border-top:grey solid 2px !important;
}

/*blog format*/
@media screen and (min-width: 48em) {
	
	.blog:not(.has-sidebar) #primary article
	{
	  width: 100% !important;
	}
	body:not(.has-sidebar):not(.page-one-column) .page-header
	{
	  display: none !important;
	}
}

/*menu style for cmbd busines*/
body.mega-menu-top .navigation-top nav {
	font-family: 'Dosis';
}
