/* Common Styles */
body {
   line-height: 1.75em;
}

h2 {
   margin: 0px 0px 20px 0px;
}

.btn-primary,
.btn-secondary {
   padding: 15px 25px;
   line-height: 1;
   font-family: 'Montserrat', sans-serif;
}

button {
   cursor: pointer;
}

.modal {
   position: fixed;
   top: 0;
   left: 0;
   display: flex;
   align-items: center;
   justify-content: center;
   height: 0vh;
   background-color: transparent;
   overflow: hidden;
   transition: background-color 0.25s ease;
   z-index: 9999;
}

.modal.open {
   position: fixed;
   width: 100%;
   height: 100vh;
   background-color: rgba(0, 0, 0, 0.3);
   transition: background-color 0.25s;
}

.modal.open>.content-wrapper {
   transform: scale(1);
}

.modal .content-wrapper {
   position: relative;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: flex-start;
   width: 300px;
   margin: 0;
   padding: 2.5rem;
   background-color: white;
   border-radius: 0.3125rem;
   box-shadow: 0 0 2.5rem rgba(0, 0, 0, 0.2);
   transform: scale(0);
   transition: transform 0.25s;
   transition-delay: 0.15s;
}

.modal .content-wrapper .close {
   position: absolute;
   top: 0.5rem;
   right: 0.5rem;
   display: flex;
   align-items: center;
   justify-content: center;
   width: 2.5rem;
   height: 2.5rem;
   border: none;
   background-color: transparent;
   font-size: 1.5rem;
   transition: 0.25s linear;
}

.modal .content-wrapper .close:before,
.modal .content-wrapper .close:after {
   position: absolute;
   content: '';
   width: 1.25rem;
   height: 0.125rem;
   background-color: black;
}

.modal .content-wrapper .close:before {
   transform: rotate(-45deg);
}

.modal .content-wrapper .close:after {
   transform: rotate(45deg);
}

.modal .content-wrapper .close:hover {
   transform: rotate(360deg);
}

.modal .content-wrapper .close:hover:before,
.modal .content-wrapper .close:hover:after {
   background-color: tomato;
}

.modal .content-wrapper .modal-header {
   position: relative;
   display: flex;
   flex-direction: row;
   align-items: center;
   justify-content: center;
   width: 100%;
   padding: 0;
   font-weight: 600;
   text-transform: uppercase;
   margin-top: -20px;
   margin-bottom: 20px;
}

.modal .content-wrapper .modal-header h2 {
   font-size: 1.5rem;
   font-weight: bold;
}

.modal .content-wrapper .content {
   position: relative;
}

.modal .content-wrapper .content p {
   font-size: 0.875rem;
   line-height: 1.75;
}

.modal .content-wrapper .modal-footer {
   position: relative;
   display: flex;
   align-items: center;
   justify-content: flex-end;
   width: 100%;
   margin: 0;
   padding: 1.875rem 0 0;
}

.modal .content-wrapper .modal-footer .action {
   position: relative;
   margin-left: 0.625rem;
   padding: 0.625rem 1.25rem;
   border: none;
   background-color: slategray;
   border-radius: 0.25rem;
   color: white;
   font-size: 0.87rem;
   font-weight: 300;
   overflow: hidden;
   z-index: 1;
}

.modal .content-wrapper .modal-footer .action:before {
   position: absolute;
   content: '';
   top: 0;
   left: 0;
   width: 0%;
   height: 100%;
   background-color: rgba(255, 255, 255, 0.2);
   transition: width 0.25s;
   z-index: 0;
}

.modal .content-wrapper .modal-footer .action:first-child {
   background-color: #2ecc71;
}

.modal .content-wrapper .modal-footer .action:last-child {
   background-color: #e74c3c;
}

.modal .content-wrapper .modal-footer .action:hover:before {
   width: 100%;
}

.modal_form input {
   margin-bottom: 20px;
   width: 100%;
}

.modal .content button {
   width: 100%;
   margin-top: 15px;
}

.informations h5 {
   width: 75%;
}

.footer-end>span a {
   color: #848D86;
   text-decoration: none;
}

[name="mform"] {
   margin-top: 25px !important;
}

[name="mform"]+div {
   display: none;
}

#allEntries {
   display: inline-grid;
   grid-template-columns: repeat(2, 1fr);
   grid-column-gap: 47px;
   grid-row-gap: 48px;
   justify-content: center;
   padding: 48px 0px;
}

.section-text {
   display: block;
   color: #848D86;
}

.section-opinion p {
   font-weight: 500;
}

.section-opinion span>span {
   text-transform: uppercase;
}

.section-text.quote {
   color: inherit;
   text-align: center;
}

input,
select {
   position: relative;
   border: solid 1px #DBE1DD;
   border-radius: 8px;
   padding: 8px 12px;
   font-size: 0.875em;
   box-sizing: border-box;
   font-family: 'Montserrat', sans-serif;
}

.codeButtons {
   padding: 8px 12px;
   width: auto !important;
   margin-bottom: 20px;
}

.section-text.quote:hover {
   transform: translateY(0px);
}

.paging-wrapper-top {
   margin-bottom: 30px;
}

/*=============================================================*/
/* PAGINATION
/*=============================================================*/
.pagination {
   display: block;
   text-align: center;
   margin-top: 15px;
}

.paging-wrapper-bottom {
   margin-bottom: 30px !important;
   display: flex;
   justify-content: center;
}

#pagesBlock1,
.pagesBlockuz1,
.pagesBlockuz2 {
   font-size: 16px;
   display: inline-flex;
   align-items: center;
   flex-wrap: wrap;
}

/* -- active -- */
.pgSwchA b,
.swchItemA span,
.swchItemA1 span {
   color: #438e56;
   cursor: default;
   position: relative;
   line-height: 30px;
   text-decoration: none;
   min-width: 32px;
   display: inline-flex;
   text-align: center;
   font-weight: 400;
   padding: 0 15px;
   margin: 2px;
   justify-content: center;
   align-items: center;
}

/* -- no active -- */
.pgSwch span,
.swchItem span,
a.swchItem1,
.swchItemDots {
   position: relative;
   text-decoration: none;
   min-width: 32px;
   color: #484556;
   display: inline-flex;
   padding: 0 15px;
   transition: all 0.3s ease 0s;
   justify-content: center;
   align-items: center;
   line-height: 30px;
}

.pgSwch:hover span,
.swchItem:hover span,
a.swchItem1:hover {
   color: #438e56;
}

@media only screen and (max-width:640px) {
   #allEntries {
      grid-template-columns: repeat(1, 1fr);
   }
}

@media only screen and (max-width:480px) {
   header a.btn-primary {
      display: none;
   }
}
