/*======================================
Theme Name: pmtech-theme
Theme URI: https://cropas.by/
Description: theme for pmtech
Version: 1.0
Author: vealis
Author URI: https://cropas.by/dev/
Template: Divi
======================================*/


/* You can add your own CSS styles here. Use !important to overwrite styles if needed. */

ul.portmenu {
	display: flex;
  justify-content: space-between;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

ul.portmenu li a {
	color: #000000;
}

ul.portmenu li a:hover {
	color: #0096d3;
	text-decoration: underline;
}

.activeport {
	color: #0096d3;
	text-decoration: underline;
}

.portallelement {
	display: grid;
	overflow: hidden;
	grid-template-columns: repeat(2, 1fr);
	grid-auto-rows: 1fr;
	grid-column-gap: 20px;
	grid-row-gap: 20px;
	max-width: 100%;
}
.portallelement>.portallelementone {
	width: 100%;
}
.portallelement>.portallelementone img {
	height: 280px;
}

.portallelementcontent {
	border: 1px solid;
}
.porttitle {
	font-size: 16px;
    text-align: center;
    display: block;
		margin-bottom: 10px;
}

.portdesc {
	font-size: 12px;
    line-height: 1.2;
    text-align: center;
}
.et_pb_button.portbtn {
	color: #01528a!important;
	border-color: #01528a;
	border-radius: 50px;
	font-size: 12px;
	text-transform: uppercase!important;
	padding-top: 5px;
	padding-right: 20px;
	padding-bottom: 5px;
	padding-left: 20px;
	margin-top: 20px;
	text-align: center;
	display: block;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 10px;
}
body #page-container .et_pb_button.portbtn:hover {
	color: #ffffff!important;
	border-color: #01528a;
	border-radius: 50px;
	font-size: 12px;
	text-transform: uppercase!important;
	padding-top: 5px!important;
	padding-right: 20px!important;
	padding-bottom: 5px!important;
	padding-left: 20px!important;
	margin-top: 20px!important;
	text-align: center;
	display: block;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 10px;
}
.portbtn::after {
	content: none!important;
}
.portallinner {
	padding: 0 15px;
}
@media (min-width: 992px) {
.portallelement>.portallelementone {
	display: flex;
	padding: 0;
}
}
@media (max-width: 992px) {
	.portallelement {
		grid-template-columns: repeat(1, 1fr);
	}
	.portallelementcontent {
		height: 100%;
	}
	ul.portmenu {
		flex-direction: row;
    flex-wrap: wrap;
		justify-content: space-evenly;
	}
}